GNU/Linux Desktop Survival Guide
by Graham Williams |
|||||
PostgreSQL Basic Meta Commands |
$ psql -d iris # Connect to PostgreSQL with specific database. kayon=# \l # List databases. kayon=# \c iris # Connect to (use) the specified database. kayon=# \dt # List relations (tables). kayon=# \dt+ # List relations (tables) and sizes. kayon=# \q # Quit. |