Re: pg_settings.unit and DefineCustomXXXVariable

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_settings.unit and DefineCustomXXXVariable
Date: 2025-01-09 08:37:08
Message-ID: CAKoxK+4VyQh8PSV2zZ08cMzWQ3vhK2s9D1YYu82QMnji6AZhnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 8, 2025 at 4:18 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Matthias van de Meent <boekewurm+postgres(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2025-01-09 08:38:02 Re: Virtual generated columns
Previous Message Давыдов Виталий 2025-01-09 08:21:38 Re: An improvement of ProcessTwoPhaseBuffer logic