Re: [INTERFACES] PQnotifies & select

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] PQnotifies & select
Date: 1999-09-24 00:35:14
Message-ID: 27140.938133314@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Ken J. Wright" <ken(at)ori-ind(dot)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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ken J. Wright 1999-09-24 01:16:59 Re: [INTERFACES] PQnotifies & select
Previous Message eem21 1999-09-24 00:00:48 Re: [INTERFACES] PQnotifies & select