Created
December 15, 2019 14:55
-
-
Save spidezad/d01c61a051f87840dd68360a1c970cf8 to your computer and use it in GitHub Desktop.
PSQL Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start PostgreSQL server | |
pg_ctl -D /usr/local/var/postgres start | |
# list all database | |
\l | |
# help on all commands | |
\? | |
# connect to database | |
\c dbname username | |
# quit psql | |
\q | |
#link: http://www.postgresqltutorial.com/psql-commands/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment