Steve Atkins <steve@blighty.com> writes:
> OS X doesn't have readline installed, it has libedit. Libedit is poor compared to readline, and the OS X installed
versionof libedit was, for years, hideously broken such that tab completion would cause SEGVs. It might have been fixed
inthe latest releases, or it might not. It's worth avoiding anyway.
I don't necessarily agree with Steve's other gripes about OSX, but I've
got to support this one. libedit has been badly, and differently,
broken in each of the past several major releases of OSX (there are some
details in our archives). It's brutally obvious that Apple doesn't test
it much, nor do they bother to fix it in minor releases. Get GNU
readline and build psql with that, if you're going to be using psql at
all heavily. And note that /usr/lib/libreadline.dylib is not GNU
readline, it's an alias for libedit.
regards, tom lane