Re: Fix bug with accessing to temporary tables of other sessions

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Daniil Davydov <3danissimo(at)gmail(dot)com>
Cc: Stepan Neretin <slpmcf(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix bug with accessing to temporary tables of other sessions
Date: 2025-09-26 11:19:16
Message-ID: 751a6cb8-cac8-46c4-8c64-9e23f663e926@uni-muenster.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


The code LGTM (commit message still missing though)

Given that the lack of tests allowed this bug to go undetected until
now, I'd suggest to include additional tests in this patch to prevent
similar issues in the future. Something like 0002 attached. What do you
think?

Best, Jim

Attachment Content-Type Size
v10-0001-Fix-accessing-other-sessions-temp-tables.patch text/x-patch 6.4 KB
v10-0002-Test-cross-session-access-restrictions-on-tempor.patch text/x-patch 5.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Xuneng Zhou 2025-09-26 11:22:42 Re: Implement waiting for wal lsn replay: reloaded
Previous Message David Christensen 2025-09-26 11:16:15 Re: [PATCH] GROUP BY ALL