From: | "Faisal N(dot) Jawdat" <faisal(at)faisal(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #3858: psql hangs if called as postgres is coming online |
Date: | 2008-01-08 23:47:09 |
Message-ID: | 959311E0-FCB9-4B25-98BA-18B7610A23F6@faisal.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
(gdb) backtrace
#0 0x91542152 in poll$UNIX2003 ()
#1 0x0004867a in pqSocketCheck ()
#2 0x00048a41 in pqWaitTimed ()
#3 0x00042cbc in connectDBComplete ()
#4 0x00044b02 in PQsetdbLogin ()
#5 0x0000d30f in main ()
-faisal
On Jan 8, 2008, at 6:34 PM, Alvaro Herrera wrote:
> Faisal N. Jawdat wrote:
>
>> If I use psql on a local database while the daemon is coming
>> online, psql
>> hangs and most be killed. Subsequent psql processes will connect
>> without
>> incident.
>
> This is strange. When the postmaster is not ready to receive
> connections, psql is supposed to die with an error message stating so.
> It should not hang under no circumstances.
>
> Can you get a backtrace of the hung psql process?
>
> --
> Alvaro Herrera http://www.CommandPrompt.com/
> PostgreSQL Replication, Consulting, Custom Development, 24x7 support
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-01-09 00:03:35 | Re: BUG #3858: psql hangs if called as postgres is coming online |
Previous Message | Alvaro Herrera | 2008-01-08 23:34:13 | Re: BUG #3858: psql hangs if called as postgres is coming online |