model-writtenrun 281 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayush Tiwari reported that querying pg_buffercache_os_pages in single-user mode triggered Assert(IsUnderPostmaster) in an assertion-enabled build #1.
- Ayush explained that single-user startup already creates shared memory and initializes huge_pages_status, making the existing initialization assertion sufficient without the process-role restriction #1.
- Ayush submitted a patch removing the restrictive assertion and updating the function comment, reporting that the reproducing query worked with the change locally #1.
- Heikki Linnakangas committed the patch with light comment and commit-message edits as 89829354de, retaining Ayush's executable changes from #1 and marking it for backpatching through PostgreSQL 18.
- Heikki agreed with the proposal and confirmed that it was committed, leaving no outstanding work in the thread #2.