Home Tools

Postgres

List databases
postgres=> \list
Connect to a database
postgres=> \c long_haul
Describe a table
postgres=> \d pg_type
Granting privileges on database
grant all privileges on database  to ;