Create regress_tblspc in test_setup
authorAndres Freund <andres@anarazel.de>
Sat, 11 Feb 2023 17:52:36 +0000 (09:52 -0800)
committerAndres Freund <andres@anarazel.de>
Sat, 11 Feb 2023 18:03:04 +0000 (10:03 -0800)
commit9c83bbcf7ef6b4236d117b25d8a754483e6488db
tree79e91792ac32eb2c5d81412766827678d59d78ae
parenta9c70b46dbe152e094f137f7e6ba9cd3a638ee25
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@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20200124195226.lth52iydq2n2uilq@alap3.anarazel.de
src/test/regress/expected/tablespace.out
src/test/regress/expected/test_setup.out
src/test/regress/parallel_schedule
src/test/regress/sql/tablespace.sql
src/test/regress/sql/test_setup.sql