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-10T23:34:03Z
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.

Yes, that works here.
--
Michael

Commits

  1. injection_points: Add tests for name limits

  2. Report better object limits in error messages for injection points