pg_settings.unit and DefineCustomXXXVariable

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: pg_settings.unit and DefineCustomXXXVariable
Date: 2025-01-08 10:12:16
Message-ID: CAKoxK+7fNx6=sxKaXZhUETH92Cp5mpQP0eYbRbUAry+B+26zcA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 suggestion is appreciated.

Thanks,
Luca

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias van de Meent 2025-01-08 10:32:10 Re: pg_settings.unit and DefineCustomXXXVariable
Previous Message Peter Eisentraut 2025-01-08 09:53:57 Re: pure parsers and reentrant scanners