Subject: BUG #3773: psql segfault on exit
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/22/2007 1:00:19 PM
"guillaume 'ioguix' de Rorthais" <ioguix@free.fr> writes:
> Operating system: macosx 10.4.10
> Description: psql segfault on exit
If you have any lines longer than 255 bytes in your ~/.psql_history,
this is a known bug in Apple's libedit. (They seem to have fixed it
in Leopard, btw.) Recommended workaround is to install libreadline from
source (the version in /usr/lib isn't really readline) and recompile
with that instead.
http://archives.postgresql.org/pgsql-hackers/2006-12/msg01222.php
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
Subject: BUG #3773: psql segfault on exit
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/22/2007 1:16:41 PM
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Since quite a few people seem to bump into this, I wonder if we could
> have configure to test for this?
Probably not worth the trouble, seeing that Apple has finally fixed
the problem in 10.5 --- not tested by me, but a look at their source code
on-line shows it's fixed:
http://www.opensource.apple.com/darwinsource/10.5/libedit-11/libedit/src/history.c
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate
|