1

**My First query used to return all tables name :**

**The second one is to return the type of ONE table:**

How can I return all tables geom?

  • 3
    check the view public.geometry_columns – WKT May 5 '16 at 9:35
1

There are two views that you need to check geometry_columns and geography_columns that will provide you with a list like:

"ian";"public";"coastline";"geom";2;27700;"MULTILINESTRING"
"ian";"public";"motorway";"geom";2;27700;"MULTILINESTRING"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.