Quick bite
—————–
\list
or
\l
to list all databases
\connect {databasename}
to connect to database
\dt
to list tables in current database
Munch
————
psql is interactive frontend for PstgreSQL using which you can connect you postgres database and execute commands and SQL. The commands listed above fall under category meta commands.
More information can be found in psql documentation http://www.postgresql.org/docs/9.3/static/app-psql.html