Re: psql \q hang

From: Jeff Ross <jross(at)wykids(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: psql \q hang
Date: 2010-10-05 17:01:26
Message-ID: 4CAB59FE.2090407@wykids.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/05/10 10:35, Tom Lane wrote:
> Jeff Ross<jross(at)wykids(dot)org> writes:
>> Thanks for the hint, Greg! It was indeed the .psql_history file.
>> Although I'm using the default history size, the file was over 5MB in
>> size and full of a table dump. I truncated the file and no more delay
>> quitting psql.
>
> Huh ... what version of libreadline (or libedit) are you using exactly?
> How did the large dump get in there?
>
> regards, tom lane
>

According to the README in the source, this is "Gnu Readline library,
version 4.3.".

I'm not sure how the dump got in there. I have a table of US Cities,
Zip Codes and lat/long data in one of the databases and the contents of
that table were in the history file twice.

Jeff

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-10-05 17:14:29 Re: psql \q hang
Previous Message Magnus Hagander 2010-10-05 16:47:35 Re: querying the version of libpq