Re: BUG #6062: psql terminates on auto-complete

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6062: psql terminates on auto-complete
Дата
Msg-id 18987.1308202780@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6062: psql terminates on auto-complete  ("Sebastian" <skurscheid@gmail.com>)
Список pgsql-bugs
"Sebastian" <skurscheid@gmail.com> writes:
> Operating system:   Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST
> 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386

> When using the auto-complete function (TAB) to complete the name of a
> particular set of tables when writing a SELECT statement, psql crashes with
> following error:

> "malloc: *** error for object 0x2: pointer being freed was not allocated
> *** set a breakpoint in malloc_error_break to debug
> Abort trap"

Yeah, this is a known bug in Apple's version of libedit.  See our
archives, eg here:
http://archives.postgresql.org/pgsql-bugs/2010-04/msg00127.php

Aside from pestering Apple to fix it, there's not much you can do except
install GNU libreadline and link against that instead.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: BUG #6062: psql terminates on auto-complete
Следующее
От: "Delorme, Yann"
Дата:
Сообщение: Re: BUG #6061: Progresql.exe memory usage using HOLD cursor.