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

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: (view raw, whole thread or download thread mbox)
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

pgsql-interfaces by date

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

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