> On 6 Aug 2024, at 12:47, Michael Paquier <mich...@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 is non-trivial.
Thanks!
Best regards, Andrey Borodin.