model-writtenrun 1944 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Heikki Linnakangas opened the thread with redundant snapshot-call removal, stronger registration assertions, and documentation, while explicitly reserving experimental leak checks for discussion and suggesting combined snapshot acquisition-and-registration APIs #1.
- Heikki then proposed rejecting GetTransactionSnapshot() during logical decoding, believing that path unused and historic snapshots unsuitable for general queries, and outlined splitting SnapshotData into distinct types #3; the restriction landed unchanged as 1585ff7387, alongside the original series' redundant-call removal as 952365cded.
- The January draft retained the documentation and added snapshot-kind assertions plus a broad SnapshotData split #4; Andres Freund questioned whether output functions could legitimately call GetTransactionSnapshot() #5, but Heikki defended the restriction and noted that it had already landed #6.
- In March, the original registration-assertion patch landed with only whitespace and rebase differences as 8076c00592, and the documentation last posted in #4 landed with wording refinements as 043745c3a0.
- Heikki subsequently narrowed the remaining structure split and added a separate proposal to unify reference counting for copied and base historic snapshots #7; neither structural proposal has a demonstrated landing in the supplied candidates.
- In August, Noah Misch reported that the logical-decoding restriction broke pglogical row filters, including PL/pgSQL expressions, and demonstrated why substituting GetCatalogSnapshot() at the extension's direct call site was insufficient #8.
- Heikki offered two alternatives: temporarily disable the historic snapshot in pglogical and obtain a fresh snapshot, or make decoding read-only and avoid unnecessary snapshot acquisition in SQL and PL/pgSQL functions; he initially preferred the fresh-snapshot approach #9.
- Noah argued that historic snapshots preserved established behavior and supported user_catalog_table reads, warned that changing to fresh snapshots could impose application and performance costs, and reported an existing assertion failure during his tests #10.
- Accepting the user_catalog_table use case, Heikki replaced those alternatives with a revert of the GetTransactionSnapshot() restriction plus checks rejecting historic-snapshot scans of non-catalog relations #11.
- Noah reviewed that patch and requested a pure revert for PostgreSQL 18 because new restrictions were too late after beta3, while retaining the restrictions for PostgreSQL 19 and using ereport() for their errors #12.
- The master patch landed unchanged from #11 as 50f770c3d9; Heikki then corrected the accidentally retained elog() calls in 661f821ef0, implementing Noah's review request.
- Heikki closed the regression round by confirming that PostgreSQL 18 received the pure revert and master received the revert with additional checks #13; the fresh-snapshot and read-only alternatives were superseded, while the earlier structure split, reference-counting proposal, and experimental leak checks remained without a reported landing in this thread.