Re: Add pg_get_injection_points() for information of injection points

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Add pg_get_injection_points() for information of injection points
Дата
Msg-id Z_0AXS90lNpwW3pM@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add pg_get_injection_points() for information of injection points  (Kirill Reshke <reshkekirill@gmail.com>)
Ответы Re: Add pg_get_injection_points() for information of injection points
Re: Add pg_get_injection_points() for information of injection points
Список 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

Вложения

В списке pgsql-hackers по дате отправления: