Jan 2026

1 commit
Allow Boolean reloptions to have ternary values
21 Jan 2026Álvaro Herreramaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #71 of 3 reviewers saw the final version

Commits the ternary scaffolding, vacuum_truncate conversion and relevant tests from #7, leaving unset_alias, vacuum_index_cleanup and GiST buffering conversions out, as confirmed in #8. In src/backend/access/common/reloptions.c and src/include/access/reloptions.h it removes configurable defaults and always uses PG_TERNARY_UNSET for absent values; it also prefixes enum constants, changes error wording and reorganizes dummy_index_am tests.

  • Timur Magomedovsaw an earlier versiontrailerHis naming correction is acknowledged in #2, and #3 identifies a comment typo and questions placement in c.h; the later removal of configurable defaults went beyond light changes.
  • Nathan Bossartsaw an earlier versiontrailerIn #6 he calls #5 generally reasonable, questions a separate ternary implementation and requests Boolean error wording, before the committer subsequently removes configurable defaults.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Nikolay Shaplov1
Reviewer
Alvaro Herreracommitter1
Nathan Bossart1
Timur Magomedov1
Committer
Alvaro Herrera1