model-writtenrun 2092 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Shinya Kato proposed integer HEADER values for COPY FROM in text and CSV formats so files with multiple header lines could be imported without external preprocessing, with negative values rejected and zero and one retaining Boolean behavior #1.
- Fujii Masao raised concerns from an earlier proposal, Andrew Dunstan distinguished this narrower feature, and Shinya explicitly excluded footer skipping while citing Pandas, R, and report generators as sources of multiple header lines #2 #4 #5.
- Dagfinn Ilmari Mannsåker supplied CloudFront logs as another use case and suggested combining skipping with MATCH; Shinya argued that column names can occur anywhere within the headers, and they agreed to leave that complexity outside this proposal #8 #9 #10.
- Shinya's first patch used a struct to represent matching and the number of lines to skip, with oversized counts loading zero rows without error; Fujii's review led to initialization fixes, an early exit at EOF, and clearer diagnostics and documentation #11 #12 #13.
- Fujii supplied a revised implementation using a single integer with a negative MATCH sentinel and reorganized the documentation; Shinya accepted it after discussing the distinction between the internal sentinel and invalid negative user input #14 #15 #16.
- Yugo Nagata questioned identical diagnostics carrying different error codes and requested an explicit statement that MATCH skips one line; Fujii proposed a distinct negative-value message, Yugo accepted that distinction, and Shinya incorporated both changes #17 #18 #19 #20.
- Fujii refined the MATCH documentation once more, and Shinya submitted the final wording without further implementation changes #21 #22.
- Fujii committed #22 with an exactly matching diff as bc2f348e87, crediting Shinya as author, himself as co-author, and Yugo as reviewer; the thread ends with confirmation and thanks, with the proposed feature fully landed #23 #24.