From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ken J. Wright <ken@ori-ind.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [INTERFACES] PQnotifies & select
Date: Thu, 23 Sep 1999 20:35:14 -0400
Message-ID: <27140.938133314@sss.pgh.pa.us> (raw)
In-Reply-To: <3.0.32.19990923164857.009085a0@ren.cncware.com>
"Ken J. Wright" <ken@ori-ind.com> writes:
> What handle(s) would I need to feed to select() to wait for a notification
> which I can then pickup via PQnotifies()?
PQsocket(connobject) delivers the file descriptor, or -1 if there is no
open connection. There is some doco about this in the current
documentation set, although I have to agree it's terse.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, ken@ori-ind.com
Subject: Re: [INTERFACES] PQnotifies & select
In-Reply-To: <27140.938133314@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox