Allow custom parameters with more than one dot in config files.

2023-12-19 Thread Alexander Kukushkin
dc5f86f83c39c98c269a98c85 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Tue, 19 Dec 2023 13:21:43 +0100 Subject: [PATCH] Allow custom parameters with more than one dot in config files. To make it consistent with the rest of the code responsible for GUC handling. --- src/backen

Re: Allow custom parameters with more than one dot in config files.

2023-12-19 Thread Tom Lane
Alexander Kukushkin 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

Re: Allow custom parameters with more than one dot in config files.

2023-12-20 Thread Alexander Kukushkin
On Tue, 19 Dec 2023 at 16:13, Tom Lane wrote: > > 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 l