Jeff Davis <jdavis@genesiswd.com> writes:
> I really like the feature of psql that allows you to press "up" to go to
> your command history, and press "home" to go to the beginning, etc (like
> a normal shell).
That's the GNU readline and history libraries. Make sure you have those
installed (headers too --- you may need a 'devel' RPM) then re-run
configure and rebuild psql. (You needn't rebuild everything, just
src/bin/psql/.) Make sure configure shows that it's found libreadline
and readline.h.
regards, tom lane