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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Daniil Davydov <3danissimo@gmail.com>
Cc: Alexander Korotkov <aekorotkov@gmail.com>, Soumya S Murali <soumyamurali.work@gmail.com>, Jim Jones <jim.jones@uni-muenster.de>, Tom Lane <tgl@sss.pgh.pa.us>, Stepan Neretin <slpmcf@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-27T00:50:28Z
Lists: pgsql-hackers
On Tue, Apr 21, 2026 at 08:17:15PM +0700, Daniil Davydov wrote:
> BTW, do I understand correctly that I don't need to touch the .po files?

The .po files in the tree are refreshed periodically based on the work
done by pgsql-translators.  There is no need to touch them while
working on the in-core code.
--
Michael

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Prevent access to other sessions' temp tables

  2. Add tests for cross-session temp table access

  3. Doc: use "an SQL" consistently rather than "a SQL"

  4. Modify the relcache to record the temp status of both local and nonlocal