Apr 2026

1 commit
Fix var_is_nonnullable() to account for varreturningtype
10 Apr 2026Richard Guomaster19beta1REL_19_STABLE19beta1
LLM analysis, 94% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

The commit adds a non-default varreturningtype guard in src/backend/optimizer/util/clauses.c and INSERT, DELETE, and MERGE regression cases in returning.sql, implementing the fix described in #1. Richard explicitly reports cosmetic tweaks and relocating tests in #4; the extracted attachments are unavailable, preventing direct diff comparison.

  • Tender Wangsaw the final versiontrailerTender confirmed the missing case and approved the attached patch in #2, with only cosmetic changes and test relocation subsequently reported.
  • Richard Guosaw the final versiontrailerRichard approved the patch and checked has_notnull_forced_var() for the same issue in #3, then committed the final version as reported in #4.

Credits across 1 commit

Author
SATYANARAYANA NARLAPURAM1
Reviewer
Richard Guo1
Tender Wang1
Committer
Richard Guo1