Nov 2023

3 commits
Stabilize postgres_fdw tests on 32-bit machines
2 Nov 2023David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch2 of 2 reviewers saw the final version

Following Richard Guo's remaining 32-bit failure report in #12, this commit adds SET/RESET enable_sort and updates the expected plan in contrib/postgres_fdw; neither attachment contains this fix. David Rowley confirms reproducing the problem and pushing this solution in #13.

  • Michael Paquiersaw the final versionLLM analysis, 86% sureMichael reported the original 32-bit instability in #9 and narrowed its scope in #11, initiating the test-only stabilization completed by this commit.
  • Richard Guosaw the final versionLLM analysis, 99% sureRichard supplied the remaining 32-bit plan difference after the first fix in #12, directly motivating the enable_sort adjustment.
Attempt to stabilize postgres_fdw tests
2 Nov 2023David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Michael Paquier reported a Nested Loop versus Hash Semi Join discrepancy on 32-bit builds in #9 and confirmed its scope in #11. This unattached fix adds SET/RESET enable_hashjoin around the affected test in contrib/postgres_fdw/sql/postgres_fdw.sql and its expected output.

  • Michael Paquiersaw the final versionLLM analysis, 98% sureMichael identified the unstable join choice with an actual regression diff in #9 and confirmed that it appeared to be the only affected test in #11.
Increase DEFAULT_FDW_TUPLE_COST from 0.01 to 0.2
2 Nov 2023David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #32 of 2 reviewers saw the final version

The commit diff exactly matches #3 after excluding abbreviated index hashes: DEFAULT_FDW_TUPLE_COST changes from 0.01 to 0.2 and four expected plans change in contrib/postgres_fdw/expected/postgres_fdw.out. David announces the push in #7.

  • Ashutosh Bapatsaw the final versionLLM analysis, 97% sureAshutosh examined the cost's historical rationale and endorsed comparison with parallel tuple costs and the resulting pushdown preference in #4.
  • Bruce Momjiansaw the final versionLLM analysis, 97% sureBruce endorsed the proposed value as an improvement and recommended committing it in #5.

Credits across 3 commits

Author
David RowleyLLM1
Reported by
Michael Paquier2
Richard Guo1
Committer
David Rowley3

N LLM means N of the credits come from LLM analysis, not from commit trailers.