Re: Add tests for object size limits of injection points

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add tests for object size limits of injection points
Date: 2025-11-10 14:14:02
Message-ID: A933E843-050F-4DE2-8205-9D34F1632567@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 10 Nov 2025, at 02:11, Michael Paquier <michael(at)paquier(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2025-11-10 14:17:49 Re: Move SLRU_PAGES_PER_SEGMENT to pg_config_manual.h
Previous Message Heikki Linnakangas 2025-11-10 13:57:03 Re: Trying out <stdatomic.h>