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

From Michael Paquier
Subject Re: Add pg_get_injection_points() for information of injection points
Date
Msg-id Z_0AXS90lNpwW3pM@paquier.xyz
Whole thread Raw
In response to Re: Add pg_get_injection_points() for information of injection points  (Kirill Reshke <reshkekirill@gmail.com>)
Responses Re: Add pg_get_injection_points() for information of injection points
Re: Add pg_get_injection_points() for information of injection points
List pgsql-hackers
On Mon, Apr 14, 2025 at 05:26:14PM +0500, Kirill Reshke wrote:
> Hi! I noticed you do not bump catalog version here, so i was a little
> confused with
> ```
> reshke=# SELECT name, library, function FROM pg_get_injection_points();
> ERROR:  function pg_get_injection_points() does not exist
> ```
> for a while

Catalog version bumps are done by committers when code is committed.
When sending patches for reviews (this one is for July and v19),
including catversion bumps in the patches sent just leads to useless
code conflicts, so this should not be done when submitting something.

> Also, should we define pg_get_injection_points in the injection_points
> extension maybe?

As this is global for all libraries, that's not something I would add
there.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Kirill Reshke
Date:
Subject: Re: Add pg_get_injection_points() for information of injection points
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: doc patch: clarify the naming rule for injection_points