model-writtenrun 833 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nikita Kalinin reported that declaring isdirty as text instead of boolean crashes pg_buffercache_pages() on PostgreSQL 19beta1, whereas PostgreSQL 18 rejects the same query with a normal type-mismatch error #1.
- Fujii Masao reproduced the crash and proposed constructing the actual output tuple descriptor after InitMaterializedSRF(), restoring executor rowtype checks while retaining materialized output, with a regression test for the reported query #2.
- Ayush Tiwari supported replacing the caller-derived descriptor rather than duplicating InitMaterializedSRF(), requested the existing usagecount spelling, and approved Fujii's revised patch after that naming correction #3 #4 #5.
- Ashutosh Sharma suggested explicit SQL parameters as an alternative to SETOF RECORD; Fujii explained that this would likely require an extension version bump, and Ashutosh accepted keeping the existing interface for this fix #6 #7 #9.
- Fujii committed the revised patch #4 with an exactly matching diff as b70d5672d0 and announced completion in the thread's final message, leaving no outstanding patch revisions #10.