pgsql: Create regress_tblspc in test_setup

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Create regress_tblspc in test_setup
Date: 2023-02-11 18:22:55
Message-ID: E1pQuWV-000bpJ-7X@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Create regress_tblspc in test_setup

An upcoming test needs to use a tablespace as part of its test. Historically,
we wanted tablespace creation be done in a dedicated file, so it's easy to
disable when testing replication. But that is not necessary anymore, due to
allow_in_place_tablespaces.

Create regress_tblspace tablespace in test_setup. Move the tablespace test to
the end of the parallel schedule, so other tests can use it.

Author: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/20200124195226.lth52iydq2n2uilq@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9c83bbcf7ef6b4236d117b25d8a754483e6488db

Modified Files
--------------
src/test/regress/expected/tablespace.out | 4 +---
src/test/regress/expected/test_setup.out | 3 +++
src/test/regress/parallel_schedule | 9 ++++-----
src/test/regress/sql/tablespace.sql | 4 +---
src/test/regress/sql/test_setup.sql | 4 ++++
5 files changed, 13 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2023-02-12 13:52:45 pgsql: pgindent: filter files for the --commit option
Previous Message Robert Haas 2023-02-10 21:33:51 pgsql: Un-revert "Disable STARTUP_PROGRESS_TIMEOUT in standby mode."