public inbox for [email protected]  
help / color / mirror / Atom feed
From: Andres Freund <[email protected]>
To: [email protected]
Subject: pgsql: tests: Expand temp table tests to some pin related matters
Date: Mon, 17 Mar 2025 18:16:22 +0000
Message-ID: <[email protected]> (raw)

tests: Expand temp table tests to some pin related matters

Added tests:
- recovery from running out of unpinned local buffers
- that we don't run out of unpinned buffers due to read stream (only recently
  fixed, in 92fc6856cb4)
- temp tables can't be dropped while in use by cursors

Discussion: weskknhckugbdm2yt7sa2uq53xlsax67gcdkac34sanb7qpd3p@hcc2wadao5wy
Discussion: https://postgr.es/m/ge6nsuddurhpmll3xj22vucvqwp4agqz6ndtcf2mhyeydzarst@l75dman5x53p

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1a22a8a0f1319e3d80cab0962374f235359b59ff

Modified Files
--------------
src/test/regress/expected/temp.out | 156 +++++++++++++++++++++++++++++++++++++
src/test/regress/parallel_schedule |   2 +-
src/test/regress/sql/temp.sql      | 107 +++++++++++++++++++++++++
3 files changed, 264 insertions(+), 1 deletion(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: tests: Expand temp table tests to some pin related matters
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox