-
pgcli
pgcli
$ pip install pgcli
If you're on OS X you can install it via homebrew. Just be aware that this will
install postgresql via homebrew if you don't already have it.
$ brew install pgcli
Usage
...
-
Docs
Docs
Showcase of various color themes:
\d,
~/.config/pgcli/log. There is additional user friendly audit logging.
Pressing
<C-r> will enable incremental history search. So press
<C-r> and then
start...
-
Editor
Editor
One of the most useful slash commands is
\e. This will launch an editor to
edit the current query (or previous query, if the current query is blank).
Here are some examples:
# This will launch...
-
Install
Install
Tested on macOS and Linux. Runs on Python 3.6+.
I have not personally tested this on Windows, but all the underlying libraries
used by this project are cross-platform compatible including Wind...
-
Commands
Commands
psql. These meta-commands start with the backslash character. To see these, type
\? at the prompt:
+--------------------------------------+------------------------------------------------+ ...
-
Configuration
Configuration
Most of pgcli's user settings are configured via the file located at
~/.config/pgcli/config, which is a hidden file in your home folder in Linux and macOS.
On Windows it is located at
...