On Wed, Jan 8, 2025 at 4:18 PM Tom Lane wrote:
>
> Matthias van de Meent writes:
> > DefineCustomXXXVariable has a 'flags' argument, into which GUC_UNIT_*
> > can be or-ed.
Thanks Matthias and Tom for the explaination.
Since I'm needing to define "seconds", GUC_UNIT_S is what I was looking for.
In the file backend/executor/execMain.c there are the following hook types:
/* Hooks for plugins to get control in ExecutorStart/Run/Finish/End */
ExecutorStart_hook_type ExecutorStart_hook = NULL;
ExecutorRun_hook_type ExecutorRun_hook = NULL;
ExecutorFinish_hook_type ExecutorFinish_hook = NULL;
Hi all,
hope this is the right place to ask for, otherwise please point me in
the right resource.
I'm trying to develop a module that needs shared memory between
background workers.
The _PG_init calls a function to reserve the shared memory, which in
turn calls RequestAddinShmemSpace, which seems
Hi all,
I need to define a few GUCs, and for that purpose I'm using
DefineCustomXXXVariable functions that provide hooks for assignment,
show and check. However it is not clear to me if it is possible to
populate the unit column in pg_settings for the custom defined
variables, and if so, how.
Any s