Re: [HACKERS] Listen/Notify payload and interfaces

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [HACKERS] Listen/Notify payload and interfaces
Date: 2010-02-17 20:50:12
Message-ID: 7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2010-02-17 21:42:35 Re: Large object dumps vs older pg_restore
Previous Message Heikki Linnakangas 2010-02-17 20:28:59 Re: Streaming replication on win32, still broken

Browse pgsql-interfaces by date

  From Date Subject
Next Message Greg Sabino Mullane 2010-02-18 21:01:29 Re: [HACKERS] Listen/Notify payload and interfaces
Previous Message Greg Sabino Mullane 2010-02-17 18:04:14 Re: [HACKERS] Listen/Notify payload and interfaces