Re: Emit a warning if the extension's GUC is set incorrectly
Florin Irion <irionr@gmail.com>
From: Florin Irion <irionr@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, Shinya11.Kato@oss.nttdata.com, masao.fujii@oss.nttdata.com, bharath.rupireddyforpostgres@gmail.com, daniel@yesql.se, pgsql-hackers@postgresql.org
Date: 2022-02-21T21:22:55Z
Lists: pgsql-hackers
Il lun 21 feb 2022, 20:12 Tom Lane <tgl@sss.pgh.pa.us> ha scritto: > I wrote: > > Florin Irion <irionr@gmail.com> writes: > >> For what it's worth, I agree with throwing an ERROR if the placeholder > is > >> unrecognized. Initially, I didn't want to change too much the liberty of > >> setting any placeholder, but mainly to not go unnoticed. > > > I also think that this is probably a good change to make. > > Hearing no objections, done. > > regards, tom lane > Thank you for taking care of this. Cheers, Florin >
Commits
-
Disallow setting bogus GUCs within an extension's reserved namespace.
- 88103567cb8f 15.0 landed
-
Revert changes about warnings/errors for placeholders.
- cab5b9ab2c06 15.0 landed
-
Rename EmitWarningsOnPlaceholders() to MarkGUCPrefixReserved().
- 5609cc01c69b 15.0 landed
-
Rethink handling of settings with a prefix reserved by an extension.
- 2ed8a8cc5b63 15.0 landed
-
Add missing EmitWarningsOnPlaceholders() calls.
- 1fada5d81e67 15.0 landed
-
Add EmitWarningsOnPlaceholders calls to contrib modules that are likely to
- da2c1b8a27af 8.4.0 cited