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
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