Re: BUG #3858: psql hangs if called as postgres is coming online

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Faisal N(dot) Jawdat" <faisal(at)faisal(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:34:13
Message-ID: 20080108233413.GA20913@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Faisal N. Jawdat 2008-01-08 23:47:09 Re: BUG #3858: psql hangs if called as postgres is coming online
Previous Message Faisal N. Jawdat 2008-01-08 22:21:23 BUG #3858: psql hangs if called as postgres is coming online