DropGeometryColumn
DropGeometryColumn is a PostGIS utility function used to remove a geometry column from a table and clean up the associated metadata in the geometry_columns catalog. It was commonly used in older PostGIS installations to ensure that both the column and its metadata were properly deleted in one operation.
The function is invoked within SQL as a simple call that specifies the target table and the
DropGeometryColumn removes the specified geometry column from the table and also deletes the corresponding entry from
Users must have sufficient permissions on the table to drop the column. It is important to verify
In more recent PostGIS workflows, the standard SQL approach to removing a geometry column—ALTER TABLE table_name