Excerpts from Ross Barrett's message of jue feb 24 13:36:34 -0300 2011:
>
> The following bug has been logged online:
>
> Bug reference: 5899
> Logged by: Ross Barrett
> Email address: ross_barrett@rapid7.com
> PostgreSQL version: 9.0.3
> Operating system: Ubuntu 9.10
> Description: Memory corruption when running psql
> Details:
>
> Attempting to run psql complains that termcap db is not present (bug 5807).
> Applying the work around of placing an /etc/termcap file from a Red Hat
> system allowed psql to run 1x. Subsequent runs always yield a memory
> error:
Try LD_PRELOAD'ing libreadline -- or recompile psql linked to that
instead of libedit.
--
Ãlvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support