pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedFrom: David E. Wheeler <david@kineticode.com>
To: Greg Sabino Mullane <greg@turnstep.com>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: [HACKERS] Listen/Notify payload and interfaces
Date: Wed, 17 Feb 2010 12:50:12 -0800
Message-ID: <7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.com> (raw)
In-Reply-To: <06fb833dde8748d07bb996c39d221bd8@biglumber.com>
References: <06fb833dde8748d07bb996c39d221bd8@biglumber.com>
On Feb 17, 2010, at 10:04 AM, Greg Sabino Mullane wrote:
> while (my $notify = $dbh->pg_notifies) {
> my ($name, $pid, $payload) = @$notify;
> print qq{I received notice "$name" from PID $pid, payload was "$payload"\n};
> }
>
> Not sure what you mean by adapting interfaces to send payloads, I imagine
> most if not all simply require a NOTIFY to be sent via PQexec.
Is the payload decoded to utf8 when pg_enable_utf8 is true?
Best,
David
view thread (6+ messages) latest in thread
Message-ID: <7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.com>
Permalink: ../7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.com/
Also on: postgresql.org/message-id/7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.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: david@kineticode.com, greg@turnstep.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Listen/Notify payload and interfaces
In-Reply-To: <7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.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