PostgreSQL: psql Commands Guide
PostgreSQL provides the psql utility to connect to and communicate with PostgreSQL databases. psql provides a command-line interface for connecting to a PostgreSQL instance. Every installation of the PostgreSQL server comes with psql, which is the default client for interacting with the server. To work with PostgreSQL databases, psql offers …