Re: Listen / Notify rewrite

Поиск
Список
Период
Сортировка
От Andrew Chernow
Тема Re: Listen / Notify rewrite
Дата
Msg-id 4AFB84D3.3040109@esilo.com
обсуждение исходный текст
Ответ на Re: Listen / Notify rewrite  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>> 2. The payload parameter is optional. A notifying client can either call
>> "NOTIFY foo;" or "NOTIFY foo 'payload';". The length of the payload is
>> currently limited to 128 characters... Not sure if we should allow longer
>> payload strings...
> 
> Might be a good idea to make the max the same as the max length for
> prepared transaction GUIDs?  Not sure anyone would be shipping those
> around, but it's a pre-existing limit of about the same size.
> 

I don't see any reason to impose such a small limit on payload size.  Surely 
some limit must exist, but 128 characters seems awfully small.  I already have 
at few places in mind that would require more bytes.

Why not 8K, 64K, 256K, 1M or even more?  Is there some other factor in play 
forcing this limitation?

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Listen / Notify rewrite
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: write ahead logging in standby (streaming replication)