Scroll to navigation

PGCLI(1) General Commands Manual PGCLI(1)

NAME

pgcli - Command line client for PostgreSQL

SYNOPSIS

pgcli [OPTIONS] [DATABASE] [USERNAME]

DESCRIPTION

pgcli is a command line interface for PostgreSQL with auto-completion and syntax highlighting. The CLI is also capable of pretty printing tabular data.

OPTIONS

Host address of the postgres database
Port number at which the postgres instance is listening
User name to connect to the postgres database
Force password prompt
Never prompt for password
Version of pgcli
Database name to connect to
Location of pgclirc file
Show this message and exit

EXAMPLE USAGE

$ pgcli local_database

$ pgcli postgres://amjith:passw0rd@example.com:5432/app_db
$ pgcli -h localhost -p 5432 -U amjith app_db

AUTHOR

pgcli is written by Amjith Ramanujam (http://pgcli.com)

This manual page was written by Lennart Weller <lhw@ring0.de>, for the Debian project (but may be used by others).

July 1, 2016