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_2TosE09s-dErbm@paquier.xyz
обсуждение исходный текст
Ответ на Re: Add pg_get_injection_points() for information of injection points  (Aleksander Alekseev <aleksander@timescale.com>)
Список pgsql-hackers
On Mon, Apr 14, 2025 at 04:29:37PM +0300, Aleksander Alekseev wrote:
> If I didn't miss anything, all SQL functions dealing with injection
> points are gathered in injection_points extension so IMO
> pg_get_injection_points() belongs there. It would be awkward to have
> it in the core considering the fact that injection points presumably
> should be disabled in release builds.

There are two more in test_aio, and by design out-of-core extensions
can define their own.

> Users will see a function in \df that does nothing.

Yeah, this one's true if --enable-injection-points is not used.
--
Michael

Вложения

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