Re: OS X 10.7, psql, and tab completion?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eric Ridge <eebbrr(at)gmail(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: OS X 10.7, psql, and tab completion?
Date: 2011-09-22 16:22:02
Message-ID: 22902.1316708522@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eric Ridge <eebbrr(at)gmail(dot)com> writes:
> What's the incantation one needs to recite before compiling Postgres
> 8.4.x on OS X 10.7 such that psql's tab completion will work?

Install GNU readline :-(. Apple managed to improve libedit's tab
completion from "sometimes dumps core" in 10.6 to "fails entirely"
in 10.7, so you just plain can't use the built-in libedit.

http://archives.postgresql.org/pgsql-hackers/2011-07/msg01642.php

(I've filed an Apple bug report about it, I suggest others do likewise.
History suggests that unless there are numerous complaints, this won't
get fixed before 10.8.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2011-09-22 17:32:52 Re: why VOLATILE attribute is required?
Previous Message Adam Cornett 2011-09-22 15:32:44 Re: Storing PHP 5.3 sessions into PostgreSQL 8.4