Skip to content

Commit

Permalink
PG16: Fix ts_bgw_log_level bootval
Browse files Browse the repository at this point in the history
When defining a GUC Postgres do a cross-check between the initial value
of the C declaration associated to a GUC and its actual boot value in
assert-enabled builds.

Previous PR #6206 didn't fixed it entirely and this happen just on PG16.

postgres/postgres@a73952b7
  • Loading branch information
fabriziomello committed Oct 17, 2023
1 parent 4e06cd3 commit 5f5f519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guc.c
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ _guc_init(void)
"Log level for the scheduler and workers of the background worker "
"subsystem. Requires configuration reload to change.",
/* valueAddr= */ &ts_guc_bgw_log_level,
/* bootValue= */ log_min_messages,
/* bootValue= */ WARNING,
/* options= */ loglevel_options,
/* context= */ PGC_SIGHUP,
0,
Expand Down

0 comments on commit 5f5f519

Please sign in to comment.