git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a9f8ca6) | patch
Clean up some inconsistencies with GUC declarations
2022年10月31日 03:44:48 +0000 (12:44 +0900)
2022年10月31日 03:44:48 +0000 (12:44 +0900)
commit d9d873bac67047cfacc9f5ef96ee488f2cb0f1c3
Clean up some inconsistencies with GUC declarations

This is similar to 7d25958, and this commit takes care of all the
remaining inconsistencies between the initial value used in the C
variable associated to a GUC and its default value stored in the GUC
tables (as of pg_settings.boot_val).

Some of the initial values of the GUCs updated rely on a compile-time
default. These are refactored so as the GUC table and its C declaration
use the same values. This makes everything consistent with other
places, backend_flush_after, bgwriter_flush_after, port,
checkpoint_flush_after doing so already, for example.

Extracted from a larger patch by Peter Smith. The spots updated in the
modules are from me.

Author: Peter Smith, Michael Paquier
Reviewed-by: Nathan Bossart, Tom Lane, Justin Pryzby
Discussion: https://postgr.es/m/CAHut+PtHE0XSfjjRQ6D4v7+dqzCw=d+1a64ujra4EX8aoc_Z+w@mail.gmail.com
19 files changed:
contrib/auth_delay/auth_delay.c diff | blob | blame | history
contrib/pg_prewarm/autoprewarm.c diff | blob | blame | history
contrib/pg_stat_statements/pg_stat_statements.c diff | blob | blame | history
contrib/pg_trgm/trgm_op.c diff | blob | blame | history
contrib/sepgsql/hooks.c diff | blob | blame | history
src/backend/access/transam/xact.c diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/libpq/be-secure.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/storage/buffer/bufmgr.c diff | blob | blame | history
src/backend/storage/ipc/dsm_impl.c diff | blob | blame | history
src/backend/utils/adt/xml.c diff | blob | blame | history
src/backend/utils/cache/plancache.c diff | blob | blame | history
src/backend/utils/error/elog.c diff | blob | blame | history
src/backend/utils/init/globals.c diff | blob | blame | history
src/backend/utils/misc/guc_tables.c diff | blob | blame | history
src/backend/utils/misc/ps_status.c diff | blob | blame | history
src/include/storage/bufmgr.h diff | blob | blame | history
src/include/utils/ps_status.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /