Re: Size limit for NOTIFY payload

From: sulfinu(at)gmail(dot)com
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Size limit for NOTIFY payload
Date: 2024-12-19 09:00:18
Message-ID: CAGH1kmxTWqzowDiVxEJXcEvisPw8EvuVj1djfCBN2TU1c2in6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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"*.

În mie., 18 dec. 2024 la 18:29, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> a scris:

> sulfinu(at)gmail(dot)com writes:
> > What's the character encoding of the NOTIFY payload, is it the default
> > database encoding?
>
> It's whatever encoding your database uses; NOTIFY doesn't do any
> transcoding.
>
> (We'd have to think harder about that if NOTIFY messages could cross
> database boundaries ... but they don't today.)
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Greg Sabino Mullane 2024-12-20 14:16:30 Re: Size limit for NOTIFY payload
Previous Message Tom Lane 2024-12-18 16:29:20 Re: Size limit for NOTIFY payload