Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Christoph Berg <myon@debian.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-03-24T22:44:02Z
Lists: pgsql-hackers
On Wed, Mar 24, 2021 at 10:50:50AM -0400, Robert Haas wrote: > On Wed, Mar 24, 2021 at 5:56 AM Christoph Berg <myon@debian.org> wrote: >> Maybe creating the tablespace directory from within the testsuite >> would suffice? >> >> CREATE TABLE foo (t text); >> COPY foo FROM PROGRAM 'mkdir @testtablespace@'; >> CREATE TABLESPACE regress_tblspace LOCATION '@testtablespace@'; > > Would that work on Windows? I doubt that all the Windows environments would be able to get their hands on that. And I am not sure either that this would work when it comes to the CI case, again on Windows. -- Michael
Commits
-
Avoid creating testtablespace directories where not wanted.
- 413c1ef98e0c 14.0 landed
-
Move tablespace path re-creation from the makefiles to pg_regress
- 6c788d9f6aad 14.0 cited