Re: LISTEN/NOTIFY versus encoding conversion - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: LISTEN/NOTIFY versus encoding conversion
Date
Msg-id 20100215211459.GB16443@svana.org
Whole thread Raw
In response to LISTEN/NOTIFY versus encoding conversion  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Federico Di Gregorio
Date:
Subject: Re: psycopg2 license changed
Next
From: Jeff Davis
Date:
Subject: Re: Listen / Notify - what to do when the queue is full