according to the documentation, the payload given in a NOTIFY statement must not exceed a certain limit in bytes. But the payload is a character string, therefore the limit remains unclear.
What's the character encoding of the NOTIFY payload, is it the default database encoding?