pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Christoph Berg <myon@debian.org>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
Date: Thu, 25 Mar 2021 07:44:02 +0900
Message-ID: <YFvAsqZopd94JP1p@paquier.xyz> (raw)
In-Reply-To: <CA+TgmoYJP7wfat2xCMHeqs4nN4XCVOYCRWTbbPU8Puq007oeDA@mail.gmail.com>
References: <E1lJroH-0006Oz-Gb@gemulon.postgresql.org>
	<YFnWBYinNf1s0Y6v@msg.df7cb.de>
	<YFqRGvGasd8RyltU@paquier.xyz>
	<YFsMzeLE9iiuKJ2a@msg.df7cb.de>
	<CA+TgmoYJP7wfat2xCMHeqs4nN4XCVOYCRWTbbPU8Puq007oeDA@mail.gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (18+ messages)  latest in thread

Message-ID: <YFvAsqZopd94JP1p@paquier.xyz>
Permalink:  ../YFvAsqZopd94JP1p@paquier.xyz/
Also on:    postgresql.org/message-id/YFvAsqZopd94JP1p@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, robertmhaas@gmail.com, myon@debian.org, pgsql-hackers@lists.postgresql.org
  Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
  In-Reply-To: <YFvAsqZopd94JP1p@paquier.xyz>
  References: <E1lJroH-0006Oz-Gb@gemulon.postgresql.org> <YFnWBYinNf1s0Y6v@msg.df7cb.de> <YFqRGvGasd8RyltU@paquier.xyz> <YFsMzeLE9iiuKJ2a@msg.df7cb.de> <CA+TgmoYJP7wfat2xCMHeqs4nN4XCVOYCRWTbbPU8Puq007oeDA@mail.gmail.com> <YFvAsqZopd94JP1p@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox