coord_dimension, srid, type
from geography_columns ORDER BY f_table_name;
-SELECT distinct 'catalog-schema', f_table_catalog,f_table_schema FROM geometry_columns
+SELECT distinct 'catalog-schema', f_table_catalog = current_database(),f_table_schema FROM geometry_columns
UNION
-SELECT distinct 'catalog-schema', f_table_catalog,f_table_schema FROM geography_columns
+SELECT distinct 'catalog-schema', f_table_catalog = current_database(),f_table_schema FROM geography_columns
;
CREATE TABLE tm.types (id serial, g geometry);
gg|polygonzm|gg|4|4326|PolygonZM
gg|polygonzm0|gg|4|4326|PolygonZM
gg|polygonzm4326|gg|4|4326|PolygonZM
-catalog-schema|postgis_reg|tm
+catalog-schema|t|tm
circularstring|0|Point|0|KO-BKO
circularstring|0|LineString|0|KO-BKO
circularstring|0|Polygon|0|KO-BKO