(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
>