model-writtenrun 363 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Corey Huinker proposed replacing fake FunctionCallInfo objects with NullableDatum arrays, deliberately retaining unused object-identification slots to avoid another indexing scheme, and included optional argument-mapping and version-handling cleanups #1.
- Michael Paquier extracted Corey's discovery of a misleading sanity-check comment into fa68aeeab1, correcting the explanation of skipped statistics kinds and backpatching the comment fix through PostgreSQL 18 #2.
- Michael rejected unused positional slots in the import path and supplied a reworked series using named relation and attribute statistics structures shared with postgres_fdw; he deferred the additional version-handling work to keep the proposal focused #2.
- Corey approved the revised design, and Michael explained that literal diagnostic argument names decoupled import code from restore-specific mappings; both initially accepted keeping the invasive refactor on the development branch #3 #4.
- Michael combined both revised patches without substantive changes into cc9a8eb112, removing fake FunctionCallInfos and replacing the long import argument lists with structure pointers #2.
- After the commit, Etsuro Fujita objected to changing the newly exported import interfaces, argued for consistency with diagnostic messages and easier backpatching, and requested at least reversal of the structure-based portion #5.
- Corey reconsidered the cross-version FDW interface and argued that explicit parameters force extension authors to notice newly added statistics at compile time, while still favoring structures internally and urging an API decision before PostgreSQL 19 shipped #7.
- Michael defended named fields and proposed initializer macros that default every field to null, then attached the follow-up patch; Corey said this alleviated his initialization concern and endorsed the attachment #8 #9 #10 #11.
- Michael raised the possibility of backpatching the interface change with release management, but Etsuro maintained his objections to the structures and questioned the need for initializer macros #12 #13.
- Michael announced a reversal because agreement on the import interface remained absent, and 6fe9b62914 reverted the entire refactor rather than only its structure-based portion #14.
- Etsuro remained interested in a smaller FunctionCallInfo cleanup with object-identification arguments populated, but Michael continued to reject that coupling; release management found no remaining action, and the thread ended without a replacement landing, leaving only the comment fix committed and the initializer follow-up unlanded #15 #16 #17.