8.0 Beta-5 Linux PSQL Endless loop -- Followup - Mailing list pgsql-bugs

From Michael Owens
Subject 8.0 Beta-5 Linux PSQL Endless loop -- Followup
Date
Msg-id df2316bd0411291510691444de@mail.gmail.com
Whole thread Raw
Responses Re: 8.0 Beta-5 Linux PSQL Endless loop -- Followup
Re: 8.0 Beta-5 Linux PSQL Endless loop -- Followup
List pgsql-bugs
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)                     = 0
.
.
(hundreds)
.
.
brk(0)                                  = 0x39f8d000
brk(0x39fae000)                         = 0x39fae000
read(4, "", 131072)                     = 0
.
.
(hundreds)
.
.


So it seems to be something related to reading the .psql_history file.

-- Mike

pgsql-bugs by date:

Previous
From: Michael Owens
Date:
Subject: 8.0 Beta-5 Linux PSQL Endless loop
Next
From: mgalvin@nycap.rr.com
Date:
Subject: Serial id not incrementing when manual ids are used, User Error? Bug?