I am very green in both Postgis and Postgresql. I wanted to alter the geom column in my table in order to change the SRID but I receive this error:
cannot alter type of a column used by a view or rule
DETAIL: rule _RETURN on view vw_select_location depends on column "geom"
CONTEXT: SQL statement "ALTER TABLE public.ponds_data ALTER COLUMN geom TYPE geometry(PointZM, 4210) USING ST_SetSRID(geom,4210);"
PL/pgSQL function updategeometrysrid(character varying,character varying,character varying,character varying,integer) line 81 at EXECUTE statement
SQL statement "SELECT UpdateGeometrySRID('','',$1,$2,$3)"
PL/pgSQL function updategeometrysrid(character varying,character varying,integer) line 5 at SQL statement.
Please help. I wants to change the reference coordinate system to arc 1960.