model-writtenrun 3908 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley opened the thread with loopback measurements showing that foreign tuple transfer was substantially underpriced, attaching a diagnostic grouping-disable patch and regression differences from trying a cost of 0.5 in #1.
- After Bruce Momjian revived the issue more than a year later in #2, David submitted a production patch setting DEFAULT_FDW_TUPLE_COST to 0.2 and explained that four regression-plan changes arose from STD_FUZZ_FACTOR making competing paths appear equally expensive, including one measured slowdown #3.
- Ashutosh Bapat supported comparing foreign tuple costs with parallel tuple costs and favoring operations that reduce transferred rows #4, while Bruce recommended accepting the improved estimate rather than waiting for a perfect value #5.
- David's additional Linux and Apple M2 measurements suggested costs of approximately 0.29 and 0.15, reinforcing the choice of 0.2 #6; he then committed #3 unchanged as cac169d686 and announced it in #7.
- Michael Paquier reported that an existing regression test selected different join types on 32-bit builds #9; after David asked whether other tests were affected #10, Michael confirmed that this appeared to be the only one #11, leading to 4b14e18714, which disabled hash joins around that test.
- Richard Guo showed that the test still differed on 32-bit builds because the sort could occur locally or remotely #12, prompting b690e5facb to disable local sorting for the test and update its expected plan.
- At the thread's close, David confirmed reproducing the remaining architecture-dependent choice and pushing the sort fix #13; the cost increase and both stabilization fixes had landed, with no further patch awaiting review.