pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ray Cheng <raycheng@siliconcreation.com>
To: pgsql-interfaces@postgresql.org
Subject: Listen/Notify Application using libpq++ library
Date: Wed, 9 Apr 2003 18:32:52 +0800
Message-ID: <001701c2fe83$6463fb00$c300a8c0@scl01.siliconcreation.com> (raw)

Hello.

I am new to Postgresql, so please bear with me for asking something ignorant.

I am trying to write a module that will listen for notifications from the PG database at another PC, in C++.  May I ask which methods in libpq++ can be 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

Message-ID: <001701c2fe83$6463fb00$c300a8c0@scl01.siliconcreation.com>
Permalink:  ../001701c2fe83$6463fb00$c300a8c0@scl01.siliconcreation.com/
Also on:    postgresql.org/message-id/001701c2fe83$6463fb00$c300a8c0@scl01.siliconcreation.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: raycheng@siliconcreation.com
  Subject: Re: Listen/Notify Application using libpq++ library
  In-Reply-To: <001701c2fe83$6463fb00$c300a8c0@scl01.siliconcreation.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox