Re: [HACKERS] Listen/Notify payload and interfaces - Mailing list pgsql-interfaces

From David E. Wheeler
Subject Re: [HACKERS] Listen/Notify payload and interfaces
Date
Msg-id 7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.com
Whole thread Raw
In response to Re: [HACKERS] Listen/Notify payload and interfaces  ("Greg Sabino Mullane" <greg@turnstep.com>)
List 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



pgsql-interfaces by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: [HACKERS] Listen/Notify payload and interfaces
Next
From: "David E. Wheeler"
Date:
Subject: Re: [HACKERS] Listen/Notify payload and interfaces