Pgcli is a command line interface for Postgres database that does auto-completion and syntax highlighting. You can install this version using:
$ pip install -U pgcli
This version comes with quite a few fixes and a couple of nice usability improvements, including automatic reconnect.
- Keybindings for closing the autocomplete list ...