Re: Extend injection_points_attach() to accept a user-defined function

Поиск
Список
Период
Сортировка
От Rahila Syed
Тема Re: Extend injection_points_attach() to accept a user-defined function
Дата
Msg-id CAH2L28uHM_b3_g3zr0GiX2+efWjsX1J1f3EWgNaBwnFT9d_EYg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Extend injection_points_attach() to accept a user-defined function  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Extend injection_points_attach() to accept a user-defined function
Список pgsql-hackers
Hi,

> How about a simpler injection_points_attach(point_name text, func
> text, module text) with a second SQL function, but a different number
> of arguments?   Using a new hardcoded action for this purpose is
> confusing as your point is to introduce a SQL wrapper on top of
> InjectionPointAttach(), and using input arguments that match with the
> C function is an attractive option.

Thank you for the suggestion.
I agree that having a separate SQL function for this would make the design
easier to understand.

Please find attached a patch that implements this.

Thank you,
Rahila Syed

Вложения

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