Re: libedit memory stomp is apparently fixed in OS X Lion

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Geoghegan <peter(at)2ndquadrant(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: libedit memory stomp is apparently fixed in OS X Lion
Date: 2011-07-22 19:05:35
Message-ID: CA+OCxowdMbRBb_sMqCrshrh2qQyixWarbRVU6d-Ki3_B1VG2og@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jul 22, 2011 at 5:16 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Dave Page <dpage(at)pgadmin(dot)org> writes:
>> On Fri, Jul 22, 2011 at 5:01 PM, Peter Geoghegan <peter(at)2ndquadrant(dot)com> wrote:
>>> On 22 July 2011 03:24, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> I had a bug filed with Apple about that, and today I got some auto-mail
>> indicating they'd fixed that bug as of OS X 10.7 (Lion).  I don't have
>> Lion installed here, but I grabbed the libedit sources from
>> www.opensource.apple.com and indeed it looks fixed.  So, if any early
>> adopters want to try it out ...
>
>>> I'll add that I've heard reports that Lion Server comes with
>>> PostgreSQL as standard, and Lion Desktop comes with psql.
>
>> Yup:
>> raptor:PEM dpage$ psql --version
>> psql (PostgreSQL) 9.0.4
>> contains support for command-line editing
>
> So, is it linked to their libedit,

Yes.

> and if so does it crash when you try
> to tab-complete a case with exactly 9 completions?

Tab complete doesn't seem to work at all (nor does it in my builds
with libedit). No crashes or anything - it just spews a blank line and
returns to the prompt.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-07-22 19:08:39 Re: Policy on pulling in code from other projects?
Previous Message Robert Haas 2011-07-22 18:25:09 Re: Policy on pulling in code from other projects?