"guillaume 'ioguix' de Rorthais" <ioguix(at)free(dot)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