我正在使用PostgreSQL 9.1和PostGIS 2.0.1。
列location
的类型为point
。类型latitude
和longitude
双精度。
为什么这是更新声明
update list_of_location SET location = ST_SetSRID(ST_MakePoint(longitude,latitude), 4326);
返回
LINE 1: update list_of_location SET location = ST_SetSRID(ST_MakePoint(longit...
^
HINT: You will need to rewrite or cast the expression.