model-writtenrun 2892 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Joel Jacobson proposed two patches in #1: one made negative COPY tests isolate invalid option combinations and use consistent input/output directions, while the other fixed missing CSV-mode and COPY-direction checks for FORCE_NOT_NULL * and FORCE_NULL *.
- Joel rebased the series in #2; Zhang Mingli endorsed the all-column validation fix in #3, and Michael Paquier reviewed the rebased submission and promised a fix with backpatches in #4.
- Michael committed the test-cleanup portion of #2 as 03bf0d9a4b, adjusting more queries to use COPY FROM and backpatching through PostgreSQL 16, as reported in #5.
- Michael committed the validation portion of #2 as 089aac631b, retaining the extra FORCE_QUOTE coverage with a test-direction adjustment and backpatching through PostgreSQL 17, as reported in #5.
- Joel submitted a follow-up in #6 to restore COPY TO in the text-format FORCE_QUOTE tests, arguing that the committed COPY FROM queries combined two invalid conditions.
- Michael defended the intentional preference for COPY FROM in #7; Joel explained the resulting dependence on validation order in #8, but Michael preferred leaving the committed tests unchanged in #9.
- Joel broadened the follow-up in #10 to group tests by option direction, adjust ON_ERROR coverage and add missing QUOTE/ESCAPE cases, crediting Jian He with identifying the missing cases elsewhere and explaining that the cleanup would prepare for COPY raw-format work.
- Joel closed the patch entry as committed in #11, explicitly leaving the additional cleanup outside the original bug fix's scope; Michael acknowledged the closure in #12, with no landing of the follow-up patches shown in this thread.