model-writtenrun 4138 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed normalizing two-phase transaction GIDs into constants in #1, allowing pg_stat_statements to aggregate PREPARE TRANSACTION, COMMIT PREPARED, and ROLLBACK PREPARED independently of their GIDs; Julien Rouhaud approved the patch and described the monitoring problem it solved in #2.
- When Michael asked about additional normalization targets in #3, Julien identified DEALLOCATE in #4, and Michael proposed using a token-location field in #5.
- The original 2PC patch #1 landed unchanged as 638d42a3c5; Michael announced that landing in #7 while noting that pg_stat_statements excluded DEALLOCATE entirely.
- Julien argued in #8 that utility-statement jumbling removed the historical obstacle to tracking DEALLOCATE, and Michael supplied an initial normalization patch in #9; Dagfinn Ilmari Mannsåker completed the tracking support in #10 by removing the exclusion and updating comments and expected results.
- Michael found in #11 that ignoring the statement name merged DEALLOCATE ALL with named DEALLOCATE, then supplied #12 with a boolean isall field included in jumbling to keep their statistics separate.
- Dagfinn considered the boolean approach reasonable in #13, regarding a conditional jumbling attribute as excessive for this case; Michael reaffirmed the monitoring value of distinguishing ALL and rejected a NULL-based attribute in #14.
- Michael committed #12 as bb45156f34 with only a comment wording adjustment beyond rebasing, crediting both himself and Dagfinn as authors.
- In the final message #15, Michael confirmed that the distinction between named DEALLOCATE and ALL had landed and withdrew his speculative pgbouncer example; both changes were committed with no outstanding patch work identified.