Re: Listen / Notify - what to do when the queue is full
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: Joachim Wieland <joe@mcknight.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Greg Smith <greg@2ndquadrant.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, "Florian G. Pflug" <fgp@phlo.org>, Josh Berkus <josh@agliodbs.com>, pgsql-hackers@postgresql.org, Arnaud Betremieux <arnaud.betremieux@keyconsulting.fr>
Date: 2010-02-09T21:46:53Z
Lists: pgsql-hackers
On Mon, 2010-02-08 at 22:13 -0800, Jeff Davis wrote: > I would like to support encoded text, but I think there are other > problems. For instance, what if one server has a client_encoding that > doesn't support some of the glyphs being sent by the notifying backend? > Then we have a mess, because we can't deliver it. I was thinking more about this. It seems clear that we want the backend that issues the notify to only put 7-bit ASCII in the payload. But if the client sends the letters 'string' as a payload, and the representation in the server encoding is something other than the normal 7-bit ASCII representation of 'string', it will be incorrect, right? Looking at the documentation, it appears that all of the server encodings represent 7-bit ascii characters using the same 7-bit ascii representation. Is that true? Regards, Jeff Davis