Skip site navigation (1) Skip section navigation (2)

Re: BUG #3995: pqSocketCheck doesn't return

From: "Noro, Kyouko" <kyouko(dot)Noro(at)hp(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #3995: pqSocketCheck doesn't return
Date: 2008-02-29 04:02:03
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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 ()

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(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Friday, February 29, 2008 12:37 PM
To: Noro, Kyouko
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #3995: pqSocketCheck doesn't return

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

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

                        regards, tom lane

In response to

pgsql-bugs by date

Next:From: Aaron MizrachiDate: 2008-02-29 08:31:07
Subject: BUG #3997: Venezuela TIMEZONE
Previous:From: Tom LaneDate: 2008-02-29 03:36:34
Subject: Re: BUG #3995: pqSocketCheck doesn't return

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group