Fix bug with accessing to temporary tables of other sessions

First seen: 2025-04-14 05:36:15+00:00 · Messages: 66 · Participants: 8

Latest Update

2026-05-18 · claude-opus-4-6

Patch Committed and Back-Patched

The primary development this round is that Alexander Korotkov pushed the fix on 2026-05-14. The commit covers master, with back-patches to PG17 and PG18 requiring minor test adjustments (different log messages and different default value of log_lock_waits).

Key exchanges

  1. Michael Paquier (2026-05-14 06:58) conceded he was unable to complete his promised detailed review and explicitly gave Korotkov the green light: "feel free to go ahead as you feel."

  2. Korotkov (2026-05-14 13:39) confirmed the commit is done. Noted that back-patches to PG18 and PG17 required minor TAP test revisions due to differing log messages and the default value of log_lock_waits between branches.

  3. Davydov (2026-05-14 16:48) acknowledged the commit and flagged a separate remaining issue with temp tables — referencing Tom Lane's earlier message (4075754.1774378690@sss.pgh.pa.us) about an additional problem discussed within this thread. He indicated intent to work on that next month as a new thread.

Net state