我正在使用 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.