Received: from sss.sss.pgh.pa.us (sss.pgh.pa.us [209.114.166.2]) by hub.org (8.9.3/8.9.3) with ESMTP id UAA71252 for ; Thu, 23 Sep 1999 20:36:22 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.sss.pgh.pa.us (8.9.1/8.9.1) with ESMTP id UAA27142; Thu, 23 Sep 1999 20:35:14 -0400 (EDT) To: "Ken J. Wright" cc: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] PQnotifies & select In-reply-to: Your message of Thu, 23 Sep 1999 16:49:00 -0700 <3.0.32.19990923164857.009085a0@ren.cncware.com> Date: Thu, 23 Sep 1999 20:35:14 -0400 Message-ID: <27140.938133314@sss.pgh.pa.us> From: Tom Lane "Ken J. Wright" 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