mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-17 20:07:00 +08:00
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
This commit is contained in:
@ -23,6 +23,10 @@ SET synchronous_commit = on;
|
||||
--
|
||||
GRANT ALL ON SCHEMA public TO public;
|
||||
|
||||
-- Create a tablespace we can use in tests.
|
||||
SET allow_in_place_tablespaces = true;
|
||||
CREATE TABLESPACE regress_tblspace LOCATION '';
|
||||
|
||||
--
|
||||
-- These tables have traditionally been referenced by many tests,
|
||||
-- so create and populate them. Insert only non-error values here.
|
||||
|
||||
Reference in New Issue
Block a user