I've got in PostgreSQL/PostGIS the table "points" with latitude and longitude fields. I've done
update points
set geom = st_point (longitude, latitude);
and also
select updategeometrysrid ('points', 'geom', 3395);
In QGIS I've added that table with the Data Source Manager to a project in EPSG::3395 with a shapefile layer already loaded. However, points from PostGIS table do not appear correctly projected. Any suggestions to fix it?
ST_SetSRID(ST_MakePoint(longitude,latitude),4326)
to UPDATE your geometry, and don't forget to build a spatial index.ST_Transform( ddgeom , 3395)
.