When using PostgreSQL v9.1, how do I list all of the schemas using SQL?
I was expecting something along the lines of:
SELECT something FROM pg_blah;
postgresqlpostgresql-9.1schema
When using PostgreSQL v9.1, how do I list all of the schemas using SQL?
I was expecting something along the lines of:
SELECT something FROM pg_blah;
Best Answer
To lists all schemas, use the (ANSI) standard INFORMATION_SCHEMA
More details in the manual
alternatively:
More details about pg_catalog in the manual