Re: Add tests for object size limits of injection points
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Xuneng Zhou <xunengzhou@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-12T01:36:54Z
Lists: 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
Commits
-
injection_points: Add tests for name limits
- fb9bff045421 19 (unreleased) landed
-
Report better object limits in error messages for injection points
- f30cd34b3fd0 17.8 landed
- 84e826567cb8 18.2 landed
- 6e1535308c84 19 (unreleased) landed