Nov 2023

2 commits
Make GetConfigOption/GetConfigOptionResetString return "" for NULL.
2 Nov 2023Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #13

Contains precisely the GetConfigOption() comment change and the two getter return-value changes from #13 in src/backend/utils/misc/guc.c. Tom Lane explained in #14 that these API changes were separated for development-branch-only application.

Be more wary about NULL values for GUC string variables.
2 Nov 2023Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.1REL_15_STABLE15.5REL_14_STABLE14.10REL_13_STABLE13.13+2 more
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #130 of 1 reviewer saw the final version

This is the development-branch commit, retaining four hunks from #13: check_GUC_init(), get_explain_guc_options(), write_one_nondefault_variable(), and the guc_tables.h comment. It excludes the separately committed getter changes and the unnecessary RestoreGUCState() guard identified in #14.

  • Aleksander Alekseevsaw an earlier versionLLM analysis, 100% sureIn #3, Aleksander confirmed the crash and fix and proposed the check_GUC_init() guard adopted in #4, before subsequent NULL-comparison and defensive-handling changes.

Credits across 2 commits

Author
Tom LaneLLM2
Committer
Tom Lane2

N LLM means N of the credits come from LLM analysis, not from commit trailers.