Skip site navigation (1) Skip section navigation (2)

Re: psql \i tab completion initialization problem on HEAD

From: Peter van Hardenberg <pvh(at)pvh(dot)ca>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgresql(dot)org Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql \i tab completion initialization problem on HEAD
Date: 2012-02-26 20:22:31
Message-ID: CAAcg=kWJHPq8igLTmy+_c24e94etu7S2dsP74oca+A_ytoCPGw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Feb 24, 2012 at 9:46 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Actually, what I should have asked is "are you running Lion?".
> Because with libedit on Lion, tab completion is 100% broken, as per
> http://archives.postgresql.org/pgsql-hackers/2011-07/msg01642.php
> This is just the latest installment in a long and sad story of
> libedit being mostly not up to snuff on OS X.
>
> I can reproduce the behavior you mention on my own Mac, but the fact
> that it appears to work after the first time is probably just blind
> luck from happenstance locations of malloc results :-(
>
> As for GNU readline, I suspect you weren't actually testing it.
> Note that the thing called /usr/lib/libreadline.dylib is not GNU
> readline, it's only a symlink to libedit.
>

I am indeed running Lion. Thanks for helping me track down the cause.

-- 
Peter van Hardenberg
San Francisco, California
"Everything was beautiful, and nothing hurt." -- Kurt Vonnegut

In response to

pgsql-hackers by date

Next:From: Marko KreenDate: 2012-02-26 22:19:22
Subject: Re: Speed dblink using alternate libpq tuple storage
Previous:From: Thom BrownDate: 2012-02-26 19:49:12
Subject: Re: Command Triggers, patch v11

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group