Skip to content

Instantly share code, notes, and snippets.

View patoroco's full-sized avatar
:octocat:
why do we need status in Github?

Jorge Maroto patoroco

:octocat:
why do we need status in Github?
View GitHub Profile
@patoroco
patoroco / postgres-cheatsheet.md
Created April 24, 2017 10:15 — 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 *.*