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
>