Mar 2025

2 commits
Remove direct handling of reloptions for toast tables
14 Mar 2025Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetmoderate changesfrom patchset #11 of 2 reviewers saw the final version

This commit takes the TOAST-handling portion of #1 in src/backend/commands/tablecmds.c, replacing its assertion with a comment and fall-through to the existing error. It adds SQL and expected-output tests under src/test/modules/unsafe_tests; Alvaro Herrera confirms splitting and adding tests in #3.

  • Timur Magomedovsaw an earlier versionLLM analysis, 98% sureTimur explicitly endorsed the TOAST-handling change in #2, before the committer removed its assertion and added regression tests.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch
ATExecSetRelOptions: Reduce scope of 'isnull' variable
13 Mar 2025Álvaro Herreramaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #12 of 2 reviewers saw the final version

This commit extracts only the isnull-scope cleanup from #1 in src/backend/commands/tablecmds.c, preserving both local declarations, NULL-to-zero conversions, and simplified transformRelOptions calls with whitespace adjustments. The independent TOAST validation change was committed separately, as confirmed in #3.

  • Timur Magomedovsaw the final versiontrailerTimur endorsed narrowing isnull's scope and gave an LGTM in #2; the committed portion differs only in whitespace.
  • Álvaro Herrerasaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Nikolay Shaplov2
Reviewer
Alvaro Herreracommitter2
Timur Magomedov1
Committer
Alvaro Herrera2