Re: [BUGS] 8.0 Beta-5 Linux PSQL Endless loop -- Followup

2004-11-29 Thread Tom Lane
Michael Owens <[EMAIL PROTECTED]> writes: > Yeah, that was it. I started to look into that after you last email > and discovered that I had libedit installed. I was tinkering around > with it a few weeks back. I just unmerged libedit and got it off my > system. As soon as I tried to shutdown PG, pg

Re: [BUGS] 8.0 Beta-5 Linux PSQL Endless loop -- Followup

2004-11-29 Thread Tom Lane
Michael Owens <[EMAIL PROTECTED]> writes: > ... So it seems to be something related to reading the .psql_history file. psql itself doesn't even know that .psql_history exists; that file is only touched by the readline library (or possibly libedit, if you are using that instead of readline; not lik

Re: [BUGS] 8.0 Beta-5 Linux PSQL Endless loop -- Followup

2004-11-29 Thread Neil Conway
On Mon, 2004-11-29 at 17:10 -0600, Michael Owens wrote: > This problem seems to be related to the .psql_history file. If I > delete the file, the problem does not occur and psql starts up fine. > However, when I run psql again (after the previous session had > generated a .psql_history file), the p

[BUGS] 8.0 Beta-5 Linux PSQL Endless loop -- Followup

2004-11-29 Thread Michael Owens
This problem seems to be related to the .psql_history file. If I delete the file, the problem does not occur and psql starts up fine. However, when I run psql again (after the previous session had generated a .psql_history file), the problem occurs. strace shows something like read(4, "", 131072)