model-writtenrun 4557 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayoub Kazar reported that ANALYZE ignores file_fdw's reject_limit with on_error 'ignore' and proposed enforcing the limit during sampling, with regression coverage #1.
- Fujii Masao argued that statistics from valid rows remain useful for queries that can succeed, such as those using LIMIT, and proposed documenting the exception instead of risking outdated statistics by aborting ANALYZE #2.
- Ayoub Kazar agreed and replaced the behavioral change and tests with documentation and an explanatory comment in file_acquire_sample_rows() #3.
- Fujii Masao committed that revision with light wording, comment-placement, and indentation edits as 0b355d4277, documenting the existing behavior and marking the change for backpatching through PostgreSQL 18.
- Fujii Masao confirmed that the revised patch had been pushed, closing the thread with the documentation change landed and the original enforcement proposal abandoned #4.