Skip to content

Instantly share code, notes, and snippets.

View gozdeturan's full-sized avatar
💭
Looking for data science opportunities.

Gozde Turan gozdeturan

💭
Looking for data science opportunities.
View GitHub Profile
@gozdeturan
gozdeturan / postgres-cheatsheet.md
Created April 17, 2017 20:27 — forked from Kartones/postgres-cheatsheet.md
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

If run with -E flag, it will describe the underlaying queries of the \ commands (cool for learning!).

Most \d commands support additional param of __schema__.name__ and accept wildcards like *.*