pgsql: tests: Expand temp table tests to some pin related matters - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: tests: Expand temp table tests to some pin related matters
Date
Msg-id E1tuF0g-002xzR-1x@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: pg_combinebackup: Add -k, --link option.
Next
From: Nathan Bossart
Date:
Subject: pgsql: pg_upgrade: Remove some dead code.