Skip to content

Instantly share code, notes, and snippets.

@alexcalaca
Last active March 26, 2022 17:14
Show Gist options
  • Save alexcalaca/2b9a7f9faba23894f22fd3de633bac87 to your computer and use it in GitHub Desktop.
Save alexcalaca/2b9a7f9faba23894f22fd3de633bac87 to your computer and use it in GitHub Desktop.
PostgreSQL command line cheatsheet-ac

PostgreSQL command line cheatsheet-ac.md

sudo -u postgres psql : Enter the console \password postgres : E

\du : List all users \l : List of databases \q : Disconnect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment