From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Alexander Kukushkin <cyberdemn(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Allow custom parameters with more than one dot in config files. |
Date: | 2023-12-19 15:13:39 |
Message-ID: | 35888.1702998819@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alexander Kukushkin <cyberdemn(at)gmail(dot)com> writes:
> At the moment the only requirement for custom parameter names is that they
> should have one or more dots.
> ...
> But, Postgres fails to start if such parameters are set in the
> configuration file with the following error:
Hmm.
> In my opinion it would be fair to make parsing of config files with the
> rest of the code responsible for GUC handling by allowing custom parameters
> containing more than one dot.
I wonder if we wouldn't be better advised to require exactly one dot.
This isn't a feature that we really encourage users to use, and the
further we move the goalposts for it, the harder it will be to replace
it. In particular I doubt the long-stalled session-variables patch
could support such names, since it needs the names to conform to
normal SQL rules.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2023-12-19 15:24:02 | Re: Remove MSVC scripts from the tree |
Previous Message | Fabrice Chapuis | 2023-12-19 15:11:54 | Re: pg_waldump |