Skip site navigation (1) Skip section navigation (2)

8.0 Beta-5 Linux PSQL Endless loop -- Followup

From: Michael Owens <mikeowens(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: 8.0 Beta-5 Linux PSQL Endless loop -- Followup
Date: 2004-11-29 23:10:09
Message-ID: df2316bd0411291510691444de@mail.gmail.com (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-bugs by date

Next:From: Neil ConwayDate: 2004-11-30 04:13:05
Subject: Re: 8.0 Beta-5 Linux PSQL Endless loop -- Followup
Previous:From: Michael OwensDate: 2004-11-29 23:01:53
Subject: 8.0 Beta-5 Linux PSQL Endless loop

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group