psql (PostgreSQL) 8.1.18
contains support for command-line editing
