Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal
От
Nathan Bossart
Тема
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal
Дата
Msg-id
Zo6sTje4m0czRor9@nathan
Ответ на
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal (Tom Lane)
Список
Дерево обсуждения
Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Daniel Gustafsson <daniel@yesql.se>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Tom Lane <tgl@sss.pgh.pa.us>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Robert Haas <robertmhaas@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Tom Lane <tgl@sss.pgh.pa.us>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Tom Lane <tgl@sss.pgh.pa.us>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Fujii Masao <masao.fujii@oss.nttdata.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Tom Lane <tgl@sss.pgh.pa.us>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Nathan Bossart <nathandbossart@gmail.com>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Jelte Fennema-Nio <postgres@jeltef.nl>
Re: Add a GUC check hook to ensure summarize_wal cannot be enabled when wal_level is minimal Jelte Fennema-Nio <postgres@jeltef.nl>
On Wed, Jul 10, 2024 at 11:11:13AM -0400, Tom Lane wrote: > Please, no. We went through a ton of permutations of that kind of > idea years ago, when it first became totally clear that cross-checks > between GUCs do not work nicely if implemented in check_hooks. > (You can find all the things we tried in the commit log, although > I don't recall exactly when.) Understood. > A counter-example for what you just > said is when a configuration file like the above is loaded after > postmaster start. I haven't tested it, but from skimming around the code, it looks like ProcessConfigFileInternal() would deduplicate any previous entries in the file prior to applying the values and running the check hooks. Else, reloading a configuration file with multiple startup-only GUC entries could fail, even without bogus GUC check hooks. -- nathan
В списке pgsql-hackers по дате отправления
От: Dave Cramer
Дата:
От: Tom Lane
Дата: