agora inbox for pgsql-interfaces@postgresql.org
help / color / mirror / Atom feedFrom: Joachim Wieland <joe@mcknight.de>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Listen/Notify payload and interfaces
Date: Wed, 17 Feb 2010 09:39:18 +0100
Message-ID: <dc7b844e1002170039l3746253bt923c8ff716a12b5c@mail.gmail.com> (raw)
This one is for the maintainers of the various postgresql interfaces:
With the new listen/notify implementation we can send a payload along
with the notification. This has been in the protocol already since
years and there is no change needed for libpq. However we need to
adapt the various interfaces to allow a payload to be sent and
received.
A notification is sent via SQL:
http://developer.postgresql.org/pgdocs/postgres/sql-notify.html
and received via the libpq call PQnotifies:
http://developer.postgresql.org/pgdocs/postgres/libpq-notify.html
Joachim
view thread (6+ messages) latest in thread
Message-ID: <dc7b844e1002170039l3746253bt923c8ff716a12b5c@mail.gmail.com>
Permalink: ../dc7b844e1002170039l3746253bt923c8ff716a12b5c@mail.gmail.com/
Also on: postgresql.org/message-id/dc7b844e1002170039l3746253bt923c8ff716a12b5c@mail.gmail.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: joe@mcknight.de, pgsql-hackers@postgresql.org
Subject: Re: Listen/Notify payload and interfaces
In-Reply-To: <dc7b844e1002170039l3746253bt923c8ff716a12b5c@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox