Connecting to PostgreSQL
Executed from your system command line psql commands
Executed inside psql interactive terminal |
Roles and databases management
Executed from your system command line Database backup
pg_dump -Ft is the same as --format=tar pg_restore -c will drop database before restoring if already exists-C will also create a database unless already exists |
Cheatography
https://cheatography.com
PostgreSQL interactive terminal commands Cheat Sheet by squixy
Frequently used commands with PostgreSQL
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets