DropGeometryTable — 删除表及其在 geometry_columns 中的所有引用。
boolean DropGeometryTable(varchar table_name);
boolean DropGeometryTable(varchar schema_name, varchar table_name);
boolean DropGeometryTable(varchar catalog_name, varchar schema_name, varchar table_name);
删除表及其在 geometry_columns 中的所有引用。注意:如果未提供模式(schema),则在支持模式的 pgsql 安装中使用 current_schema()。
|
|
|
已更改:2.0.0 此函数是为了向后兼容而提供的。现在由于 geometry_columns 是针对系统目录的视图,您可以像使用 |
SELECT DropGeometryTable ('my_schema','my_spatial_table');
----RESULT output ---
my_schema.my_spatial_table dropped.
-- The above is now equivalent to --
DROP TABLE my_schema.my_spatial_table;