Advertisement
Guest User

psql -U postgres -c "\list"

a guest
Jan 2nd, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. List of databases
  2. Name | Owner | Encoding | Collate | Ctype | Access privileges
  3. -----------+----------+----------+------------+------------+-----------------------
  4. aldb | al | UTF8 | en_CA.utf8 | en_CA.utf8 |
  5. postgres | postgres | UTF8 | en_CA.utf8 | en_CA.utf8 |
  6. template0 | postgres | UTF8 | en_CA.utf8 | en_CA.utf8 | =c/postgres +
  7. | | | | | postgres=CTc/postgres
  8. template1 | postgres | UTF8 | en_CA.utf8 | en_CA.utf8 | =c/postgres +
  9. | | | | | postgres=CTc/postgres
  10. (4 rows)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement