Andrew Dunstan <andrew@dunslane.net> writes:
> If these prove difficult, I'd say 24K would put us in an equivalent
> position (two extra copies of the error message plus change). Even so,
> I'm inclined to say that 8K is very tight.
We really only care about being able to deliver an "out of memory during
error recovery" message within that space. So yes, you can assume the
message text isn't huge and there isn't any add-on context info to worry
about. But there could be localization and/or encoding translation costs.
regards, tom lane