X-Original-To: pgsql-interfaces@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 7F77D4758F1 for ; Wed, 9 Apr 2003 06:32:33 -0400 (EDT) Received: from mail.siliconcreation.com (unknown [203.82.252.201]) by postgresql.org (Postfix) with SMTP id F0FA4474E42 for ; Wed, 9 Apr 2003 06:32:31 -0400 (EDT) Received: (qmail 24742 invoked from network); 9 Apr 2003 10:32:39 -0000 Received: from unknown (HELO raycheng) (203.82.252.205) by mail.siliconcreation.com with SMTP; 9 Apr 2003 10:32:39 -0000 Message-ID: <001701c2fe83$6463fb00$c300a8c0@scl01.siliconcreation.com> Reply-To: "Ray Cheng" From: "Ray Cheng" To: Subject: Listen/Notify Application using libpq++ library Date: Wed, 9 Apr 2003 18:32:52 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0014_01C2FEC6.6E6EF3A0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Status: No, hits=0.4 required=5.0 tests=HTML_40_50 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/47 X-Sequence-Number: 3986 This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C2FEC6.6E6EF3A0 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Hello. I am new to Postgresql, so please bear with me for asking something ignoran= t. I am trying to write a module that will listen for notifications from the P= G database at another PC, in C++. May I ask which methods in libpq++ can b= e used for that? I have tried to use PQbackendPID, and I got the PID, but = how do I receive the pending notifications? Thank you very much in advance. Regards Ray ------=_NextPart_000_0014_01C2FEC6.6E6EF3A0 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Hello.
 
I am new to Postgresql, so please bear wit= h me for=20 asking something ignorant.
 
I am trying to write a module that will li= sten for=20 notifications from the PG database at another PC, in C++.  May I ask w= hich=20 methods in libpq++ can be used for that?  I have tried to use PQbacken= dPID,=20 and I got the PID, but how do I receive the pending=20 notifications?
 
Thank you very much in advance.
Regards
Ray
------=_NextPart_000_0014_01C2FEC6.6E6EF3A0--