I am using psql (9.5.2) and postgis 2.2.2. In the psql shell, I have created a spatial database and connected to it. I want to insert a point into the postgis geodatabase.
To do so, I first create a table in the database:
CREATE TABLE table1 ( p_id INTEGER PRIMARY KEY );
Then I want to create a point using:
select st_point(101, 20);
However, I got an error:
ERROR: column "101" does not exist
What is the reason of this error?