Re: Installing PostgreSQL on OSX Server

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: PostgreSQL - general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Installing PostgreSQL on OSX Server
Date: 2013-01-28 16:31:42
Message-ID: 17329.1359390702@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Atkins <steve(at)blighty(dot)com> writes:
> OS X doesn't have readline installed, it has libedit. Libedit is poor compared to readline, and the OS X installed version of libedit was, for years, hideously broken such that tab completion would cause SEGVs. It might have been fixed in the 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Cook 2013-01-28 16:47:10 Re: Installing PostgreSQL on OSX Server
Previous Message Steve Atkins 2013-01-28 16:15:55 Re: Installing PostgreSQL on OSX Server