Re: [INTERFACES] PQnotifies & select - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: [INTERFACES] PQnotifies & select
Date
Msg-id 27140.938133314@sss.pgh.pa.us
Whole thread Raw
In response to PQnotifies & select  ("Ken J. Wright" <ken@ori-ind.com>)
List pgsql-interfaces
"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


pgsql-interfaces by date:

Previous
From: eem21@cam.ac.uk
Date:
Subject: Re: [INTERFACES] PQnotifies & select
Next
From: "Ken J. Wright"
Date:
Subject: Re: [INTERFACES] PQnotifies & select