The PostgreSQL Command-Line Client
You invoke the PostgreSQL command-line client with the command psql
. Like mysql
, you can invoke psql
with the name of the database to which you would like to connect. Also like mysql
, psql
can take several options. These options are listed in Table 29.2.
Several more options are available in addition to those listed in Table 29.2. See the psql
man page for details on all the available options.
Get Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.