Dave Wilde <lists@mylinuxguy.com> writes:
> I thought so too, so I looked at ldd for psql and it doesn't link to
> readline, it links to libedit, here's the output. Libedit and readline
> are both at their latest versions, and yes it works great with -n.
Hmm. Maybe latest libedit is broken? (This is the problem with gentoo
... lots of bleeding-edge packages ...) I'd try rebuilding and forcing
it to use readline not libedit.
regards, tom lane