Nov 2019

1 commit
Check after errors of SPI_execute() in xml.c
7 Nov 2019Michael Paquiermaster13beta1REL_19_STABLE13beta1REL_18_STABLE13beta1REL_17_STABLE13beta1REL_16_STABLE13beta1REL_15_STABLE13beta1REL_14_STABLE13beta1REL_13_STABLE13beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #11 of 2 reviewers saw the final version

The commit retains the SPI_execute() result capture and error reporting from #1, but changes the condition from spi_result < 0 to spi_result != SPI_OK_SELECT and includes the query in the error message. Michael Paquier proposed the stricter check in #2 and confirmed applying the change to HEAD in #10.

  • Michael Paquiersaw the final versiontrailerMichael proposed checking specifically for SPI_OK_SELECT #2, defended the caller-side fix #4, and reviewed the final version as committer #10.
  • Pavel Stehulesaw an earlier versiontrailerPavel examined return-code checking versus exceptions and endorsed the fix #3 #5, but the committed version subsequently tightened the accepted return status.

Credits across 1 commit

Author
Mark Dilger1
Reviewer
Michael Paquier1
Pavel Stehule1
Committer
Michael Paquier1