Re: [HACKERS] Listen/Notify payload and interfaces

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: [HACKERS] Listen/Notify payload and interfaces
Дата
Msg-id 7A380D88-3DBB-40DC-9FC5-21DA3CE6759A@kineticode.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Listen/Notify payload and interfaces  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список 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 по дате отправления:

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: [HACKERS] Listen/Notify payload and interfaces
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: [HACKERS] Listen/Notify payload and interfaces