Re: Injection points: preloading and runtime arguments

Поиск
Список
Период
Сортировка
От Andrey M. Borodin
Тема Re: Injection points: preloading and runtime arguments
Дата
Msg-id B47B55E3-AE03-4F6C-8629-AD07E82E931F@yandex-team.ru
обсуждение исходный текст
Ответ на Re: Injection points: preloading and runtime arguments  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers

> On 6 Aug 2024, at 12:47, Michael Paquier <michael@paquier.xyz> wrote:
>
> Hmm.  How about loading injection_points with shared_preload_libraries
> now that it has a _PG_init() thanks to 75534436a477 to take care of
> the initialization you need here?  We could add two hooks to request
> some shmem based on a size and to do the shmem initialization.

SQL initialisation is fine for test purposes. I just considered that I'd better share that doing the same from C code
isnon-trivial. 

Thanks!


Best regards, Andrey Borodin.


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