Re: Size limit for NOTIFY payload

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: Size limit for NOTIFY payload
Дата
Msg-id CAKAnmmLX=FzrWSzN1eB6Se54sWUm7J44h+3WvbxjZM5rR+DvxQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Size limit for NOTIFY payload  (sulfinu@gmail.com)
Список pgsql-docs
On Fri, Dec 20, 2024 at 5:53 AM <sulfinu@gmail.com> wrote:
Well, as I said, that's a text value with a byte limit. The documentation should definitely mention something like "with the default database encoding".

I'm not sure why you think adding such wordage is needed. Bytes is bytes. Your application should be checking the number of bytes in the string sent to NOTIFY.

On a related note, if you find yourself approaching the payload limits, you might want to rethink the way you are using LISTEN/NOTIFY.

Cheers,
Greg


 

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