Dzmitry Lazerka <dlazerka@gmail.com> writes:
> I have `history` available, but nor `readline`, nor `libedit` available as
> commands in my bash.
That's not particularly relevant, because what we're talking about here is
libraries not shell commands.
Applying ldd to the psql executable might yield something informative.
On my machine for instance I get
...
libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003ad8e00000)
...
regards, tom lane