I have a postgis database that contains Points created based on a couple (longitude, latitude), and I need to update only one of those two for a given point.
I found that it's possible to do so but to modify both of the coordinates using :
UPDATE poi SET place = ST_GeographyFromText('SRID=4326; POINT(' || "+lg+" ||' '|| "+lat+" || ')') where mykey='"+key+"';
Any help would be very appreciated.