Re: Add tests for object size limits of injection points - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Add tests for object size limits of injection points
Date
Msg-id aRPktttMgyXdQ8ml@paquier.xyz
Whole thread Raw
In response to Re: Add tests for object size limits of injection points  (Xuneng Zhou <xunengzhou@gmail.com>)
Responses Re: Add tests for object size limits of injection points
List pgsql-hackers
On Mon, Nov 10, 2025 at 06:27:41PM +0800, Xuneng Zhou wrote:
> Thanks for the patch. I also agree with Chao's suggestion that the
> error message better reflects the actual character limits. I
> implemented a patch for that and updated the test patch as well.
> Please check.

The restriction related to the private area can be enlarged by 1 byte,
because we don't care about the null-termination in this case.

Done that, and adjusted the whole down to 17 where this has been
introduced.  It's far from being critical, but consistency could
matter for future changes, including things outside of core.  And it's
nice to keep the same rules across the board if we can do so for
testing facilities.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Is this a typo?
Next
From: Chao Li
Date:
Subject: Re: Non-blocking archiver process