Re: LISTEN/NOTIFY versus encoding conversion

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: LISTEN/NOTIFY versus encoding conversion
Дата
Msg-id 20100215211459.GB16443@svana.org
обсуждение исходный текст
Ответ на LISTEN/NOTIFY versus encoding conversion  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Feb 14, 2010 at 03:15:30PM -0500, Tom Lane wrote:
> So the currently submitted patch is logically inconsistent.  If we
> enforce a character set restriction on the payload for fear of
> being unable to convert it to the destination client_encoding, then
> we should logically do the same for the condition name.  But then
> why not also restrict a lot of other things to pure ASCII?

AFAICS this essentially goes for "payload is a text string" and for
people who want "payload as binary" will have to do hex encoding or
some such. At least, I thought one of the reasons why it got limited
was because we couldn't decide.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Federico Di Gregorio
Дата:
Сообщение: Re: psycopg2 license changed
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Listen / Notify - what to do when the queue is full