Wenn Sie prüfen wollen, welche Schemata in Ihrem System verfügbar sind, können Sie bequem eine Systemtabelle befragen:
test=# SELECT * FROM pg_namespace;
nspname | nspowner | nspacl
--------------------+----------+-------------------
produktion | 1 |
pg_toast | 1 |
pg_temp_1 | 1 |
pg_catalog | 1 | {hs=UC/hs,=U/hs}
public | 1 | {hs=UC/hs,=UC/hs}
information_schema | 1 | {hs=UC/hs,=U/hs}
(6 rows)
Außer dem 'produktion'-Schema sind alle Schemata bereits bei der Installation von PostgreSQL vorhanden.