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

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Christoph Berg <myon(at)debian(dot)org>, 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 22:44:02
Message-ID: YFvAsqZopd94JP1p@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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(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?

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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2021-03-24 23:07:16 pgsql: Allow for installation-aware instances of PostgresNode
Previous Message Michael Meskes 2021-03-24 21:07:34 pgsql: Need to step forward in the loop to get to an end.

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-03-24 23:00:30 Re: Support for NSS as a libpq TLS backend
Previous Message Thomas Munro 2021-03-24 21:31:56 Re: MultiXact\SLRU buffers configuration