Re: Add pg_get_injection_points() for information of injection points - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: Add pg_get_injection_points() for information of injection points
Date
Msg-id CALdSSPhiEj2aRwA=Louza7ppkSQjaU6HoNKA9yX9KRffrQYYVw@mail.gmail.com
Whole thread Raw
In response to Re: Add pg_get_injection_points() for information of injection points  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Mon, 14 Apr 2025 at 17:32, Michael Paquier <michael@paquier.xyz> wrote:
>
> As this is global for all libraries, that's not something I would add
> there.


Same applies for pg_stat_statements, but it is defined in extension.
Also, injection points are tests-only, so maybe no need to have this
function callable in production systems?
One more concern is about pre-defined oids: they are limited. Maybe we
should not consume predefined oid in case when this is avoidable.


-- 
Best regards,
Kirill Reshke



pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: doc patch: clarify the naming rule for injection_points
Next
From: Thomas Munro
Date:
Subject: Using pg_bitutils.h in tidbitmap.c.