1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 07:08:01 +00:00

Add List Available Schemas as a postgres til

This commit is contained in:
jbranchaud
2016-02-10 20:53:50 -06:00
parent 9a9773e049
commit 343b7127b3
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
# List Available Schemas
Use the `\dn` command within a `psql` session to list the available schemas.
This will only included user created schemas. This means that schemas like
`public` will be listed whereas schemas `information_schema` and
`pg_catalog` will not.
You can use `\dnS` to also list system schemas.
[source](http://www.postgresql.org/docs/current/static/app-psql.html)