model-writtenrun 9518 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Kukushkin reported that SHOW ALL crashed a WAL sender on PostgreSQL 11.2, supplying a stack trace through role-membership checks and syscache lookups #1.
- Michael Paquier explained that rejecting ALL would not fix individual-parameter lookups and initially proposed allowing replication connections to see all parameter values because replication users could already obtain a base backup #2.
- Michael reconsidered bypassing permission checks and posted a fix that runs SHOW inside a transaction, preserving restrictions on settings while allowing the required syscache lookups; he proposed backpatching through PostgreSQL 10 #3.
- Alvaro Herrera requested tests exercising SHOW over replication connections to detect transaction-handling failures #4.
- Michael added six tests for SHOW ALL, work_mem and primary_conninfo over physical and logical replication connections, granting pg_read_all_settings to exercise syscache access without expected errors; he omitted negative tests because existing regression tests covered those permissions and verified that removing the backend fix made the new tests fail #5.
- Michael committed the revised patch as c34677fdaa with an additional test authentication adjustment for Windows SSPI, then confirmed that the fix and necessary test-infrastructure support had been backpatched through PostgreSQL 10, completing the thread's work #6.