model-writtenrun 8112 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with a documentation report requesting examples because ROWS FROM was tersely explained and difficult to search for #1.
- Bruce Momjian proposed combining two generate_series calls #2, and David G. Johnston suggested demonstrating column aliases and record column definitions while questioning the leading ellipsis in the syntax synopsis #3.
- While developing examples, Bruce found that pg_get_keywords rejected a column definition list despite returning record #4; Tom Lane explained that OUT parameters already determine the record structure, making the existing error misleading #5.
- Tom proposed combining json_to_recordset with generate_series #7, posted a separate parser patch with targeted error messages and regression tests #8, and corrected his example's JSON fields and column names #9.
- Tom's parser patch #8 landed unchanged as ce90f075f0.
- Bruce posted a documentation patch using the JSON example, clarifying the OUT-parameter restriction, and removing the synopsis's leading ellipsis #11; Tom reviewed it, requesting restoration of the ellipsis, simpler explanatory prose, and removal of ORDER BY #12.
- Bruce restored the ellipsis and adopted Tom's explanatory wording, but retained ORDER BY to demonstrate that the declared column type governs sorting elsewhere in the query #13.
- David suggested adding a corresponding ellipsis to the SELECT reference #14, but Bruce left that page unchanged because its syntax already appeared within a larger list of options #15.
- The revised documentation patch #13 landed unchanged as dd0a64ed43, and Bruce closed the thread by confirming application to all supported versions #16.