I am using PostgreSQL 9.1 with PostGIS 2.0.1.
The type of column location is point. type of latitude and longitude double precision.
Why is this update statement
update list_of_location SET location = ST_SetSRID(ST_MakePoint(longitude,latitude), 4326);
returning
LINE 1: update list_of_location SET location = ST_SetSRID(ST_MakePoint(longit...
^
HINT: You will need to rewrite or cast the expression.
To use PostGIS 2.0+,
locationshould be of typegeometry(Point,4326), and notpoint.