Re: Allow custom parameters with more than one dot in config files.
От | Tom Lane |
---|---|
Тема | Re: Allow custom parameters with more than one dot in config files. |
Дата | |
Msg-id | 35888.1702998819@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Allow custom parameters with more than one dot in config files. (Alexander Kukushkin <cyberdemn@gmail.com>) |
Ответы |
Re: Allow custom parameters with more than one dot in config files.
|
Список | pgsql-hackers |
Alexander Kukushkin <cyberdemn@gmail.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
В списке pgsql-hackers по дате отправления: