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

Поиск
Список
Период
Сортировка
От Faisal N. Jawdat
Тема Re: BUG #3858: psql hangs if called as postgres is coming online
Дата
Msg-id 959311E0-FCB9-4B25-98BA-18B7610A23F6@faisal.com
обсуждение исходный текст
Ответ на Re: BUG #3858: psql hangs if called as postgres is coming online  (Alvaro Herrera <alvherre@commandprompt.com>)
Список 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
>

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #3858: psql hangs if called as postgres is coming online
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3858: psql hangs if called as postgres is coming online