Received: from red.csi.cam.ac.uk (exim@red.csi.cam.ac.uk [131.111.8.70]) by hub.org (8.9.3/8.9.3) with ESMTP id TAA64504 for ; Thu, 23 Sep 1999 19:56:08 -0400 (EDT) (envelope-from ewan@cam.ac.uk) Received: from cmor.chu.cam.ac.uk ([131.111.202.213] helo=cam.ac.uk) by red.csi.cam.ac.uk with esmtp (Exim 3.03 #1) id 11UIiW-00044l-00; Fri, 24 Sep 1999 00:56:01 +0100 Date: Fri, 24 Sep 1999 01:00:48 +0100 (BST) From: eem21@cam.ac.uk Reply-To: eem21@cam.ac.uk Subject: Re: [INTERFACES] PQnotifies & select To: ken@ori-ind.com cc: pgsql-interfaces@postgresql.org In-Reply-To: <3.0.32.19990923164857.009085a0@ren.cncware.com> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: On 23 Sep, Ken J. Wright wrote: > What handle(s) would I need to feed to select() to wait for a notification > which I can then pickup via PQnotifies()? PQsocket(conn), where conn is a pointer to your connection structure, I think. Ewan Mellor.