Re: pg_settings.unit and DefineCustomXXXVariable - Mailing list pgsql-hackers

From Luca Ferrari
Subject Re: pg_settings.unit and DefineCustomXXXVariable
Date
Msg-id CAKoxK+4VyQh8PSV2zZ08cMzWQ3vhK2s9D1YYu82QMnji6AZhnQ@mail.gmail.com
Whole thread Raw
In response to Re: pg_settings.unit and DefineCustomXXXVariable  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Jan 8, 2025 at 4:18 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Matthias van de Meent <boekewurm+postgres@gmail.com> 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.


Luca



pgsql-hackers by date:

Previous
From: Давыдов Виталий
Date:
Subject: Re: An improvement of ProcessTwoPhaseBuffer logic
Next
From: jian he
Date:
Subject: Re: Virtual generated columns