Skip to content

Instantly share code, notes, and snippets.

@wynemo
Created November 3, 2016 10:29
Show Gist options
  • Save wynemo/79903100f68e0804d43c6f8824a78745 to your computer and use it in GitHub Desktop.
Save wynemo/79903100f68e0804d43c6f8824a78745 to your computer and use it in GitHub Desktop.
https://www.postgresql.org/docs/current/static/app-psql.html
\d+ tablename
\list or \l: list all databases
\dt: list all tables in the current database
\connect database_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment