On Thu, Mar 3, 2011 at 11:14 AM, Ross Barrett <ross_barrett(at)rapid7(dot)com> wrote:
> I determined that this issue was caused by something (a large error message
> relating to failed delete caused by an integrity issue) which I erroneously
> pasted into the psql terminal. I was able to get around the problem by
> deleting my .pg_history file.
>
> Perhaps it is more accurate that this is a problem with termcap?
More likely libedit, which FWICT seems to be riddled with bugs. :-(
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company