Jul 2022

1 commit
postgres_fdw: Fix bug in checking of return value of PQsendQuery().
22 Jul 2022Fujii Masaomaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3REL_14_STABLE14.5
LLM analysis, 100% surelanded as postedfrom patchset #12 of 2 reviewers saw the final version

The single hunk in 44ccdce514 exactly matches #1: fetch_more_data_begin() in contrib/postgres_fdw/postgres_fdw.c replaces the PQsendQuery() < 0 check with !PQsendQuery().

  • Japin Lisaw the final versiontrailerIn #2, Japin Li confirmed the patch worked correctly and suggested an explicit comparison with 0 or 1, while showing existing call-site conventions.
  • Tom Lanesaw the final versiontrailerIn #3, Tom Lane agreed that the original return-value check was clearly a mistake.

Credits across 1 commit

Author
Fujii Masao1
Reviewer
Japin Li1
Tom Lane1
Committer
Fujii Masao1