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

From Daniel Gustafsson
Subject Re: Add tests for object size limits of injection points
Date
Msg-id A933E843-050F-4DE2-8205-9D34F1632567@yesql.se
Whole thread Raw
In response to Add tests for object size limits of injection points  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
> On 10 Nov 2025, at 02:11, Michael Paquier <michael@paquier.xyz> wrote:

> While looking at a recent patch for injection points that has resulted
> in 16a2f706951e, I have been reminded that the point name, library
> name and function name have hardcoded limits, and it is now possible
> to have them tested by SQL.

While they do increase code coverage, which is a good thing, it seems somewhat
unlikely that they will catch bugs given the nature of of the code being
tested.  That being said they come at a low cost so no objections to add.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Trying out
Next
From: Heikki Linnakangas
Date:
Subject: Re: Move SLRU_PAGES_PER_SEGMENT to pg_config_manual.h