Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Christoph Berg <myon(at)debian(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
Date: 2021-03-24 14:50:50
Message-ID: CA+TgmoYJP7wfat2xCMHeqs4nN4XCVOYCRWTbbPU8Puq007oeDA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Mar 24, 2021 at 5:56 AM Christoph Berg <myon(at)debian(dot)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?

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2021-03-24 15:24:51 pgsql: Add date_bin function
Previous Message Robert Haas 2021-03-24 12:48:02 Re: pgsql: Add a new GUC and a reloption to enable inserts in parallel-mode

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2021-03-24 14:58:06 Re: multi-install PostgresNode
Previous Message Robert Haas 2021-03-24 14:49:33 Re: default result formats setting