Re: Listen / Notify - what to do when the queue is full
| От | Jeff Davis |
|---|---|
| Тема | Re: Listen / Notify - what to do when the queue is full |
| Дата | |
| Msg-id | 1265761835.17112.47.camel@monkey-cat.sm.truviso.com обсуждение исходный текст |
| Ответ на | Re: Listen / Notify - what to do when the queue is full (Andrew Chernow <ac@esilo.com>) |
| Ответы |
Re: Listen / Notify - what to do when the queue is full
|
| Список | pgsql-hackers |
On Tue, 2010-02-09 at 19:02 -0500, Andrew Chernow wrote: > Wouldn't binary payloads be an alternative? NOTE: I may have missed this > discussion. Sorry if it has already been covered. The Notify struct has a "char *" field, which can't hold embedded NULL bytes, so it can't really be binary. But it can't be arbitrary text, because it has to be encoded in a way that works for every possible client encoding (otherwise there's a possibility of an error, and no way to handle it). Also, the query starts out as text, so we need a way to interpret the text in an encoding-independent way. So, I think ASCII is the natural choice here. Regards,Jeff Davis
В списке pgsql-hackers по дате отправления: