Re: BUG #3995: pqSocketCheck doesn't return - Mailing list pgsql-bugs

From Noro, Kyouko
Subject Re: BUG #3995: pqSocketCheck doesn't return
Date
Msg-id E384551E2EBA4B4FA0A6CBA08F473DC4095B5CE423@G5W0279.americas.hpqcorp.net
Whole thread Raw
In response to Re: BUG #3995: pqSocketCheck doesn't return  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hello Tom,

Thank you for your reply.

>pqSocketCheck isn't accessible from outside libpq
Yes, I see.
SQL in our application is hang sometimes.
I saw gdb backtrace as follows.

(gdb) bt
#0 0x900bc8bc in poll ()
#2 0x0149abd2 in pqSocketCheck ()
=1B$B!&!&!&=1B(B

I've been searching some cases like this but I've not had yet.
So If you have any bug reports, may I ask your advice?

Best raguard,
/kyoko noro

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, February 29, 2008 12:37 PM
To: Noro, Kyouko
Cc: pgsql-bugs@postgresql.org
Subject: Re: [BUGS] BUG #3995: pqSocketCheck doesn't return

"Kyoko Noro" <kyouko.noro@hp.com> writes:
> Sometimes pqSocketCheck doesn't return and our appication hang.

pqSocketCheck isn't accessible from outside libpq, and furthermore it's oft=
en called with the *intention* of waiting for something to happen.  You nee=
d to provide more details of what you are doing and what is happening (vs. =
what you expected to happen).

                        regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3995: pqSocketCheck doesn't return
Next
From: "Aaron Mizrachi"
Date:
Subject: BUG #3997: Venezuela TIMEZONE