SET CONSTRAINTS ALL DEFERRED
Array ( )
select table_name from information_schema.tables where table_schema = 'public'
Array ( )
resultset: 5 rows
drop table if exists "geography_columns" CASCADE
Array ( )
An error occurred: SQLSTATE[42809]: Wrong object type: 7 ERROR: "geography_columns" is not a table HINT: Use DROP VIEW to remove a view.
drop view if exists "geography_columns" CASCADE
Array ( )
An error occurred: SQLSTATE[2BP01]: Dependent objects still exist: 7 ERROR: cannot drop view geography_columns because extension postgis requires it HINT: You can drop extension postgis instead.