Some information about this system:
CP14105-A:~# uname -a
Linux CP14105-A 2.4.24-1-386 #1 Wed Feb 18 19:44:56 EST 2004 i686 GNU/Linux
Debian Sarge (testing) - up-to-date
CP14105-A:~# psql --version
psql (PostgreSQL) 7.3.4
contains support for command-line editing
Postgresql installed with apt-get as per the instructions in the OpenACS-5 docs.