pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
Date: Mon, 17 May 2021 20:57:55 -0400
Message-ID: <2934410.1621299475@sss.pgh.pa.us> (raw)
In-Reply-To: <YKMJ0Ri2B1yysTXC@paquier.xyz>
References: <E1lJroH-0006Oz-Gb@gemulon.postgresql.org>
	<2854388.1621284789@sss.pgh.pa.us>
	<2917892.1621288314@sss.pgh.pa.us>
	<YKMJ0Ri2B1yysTXC@paquier.xyz>

Michael Paquier <michael@paquier.xyz> writes:
> On Mon, May 17, 2021 at 05:51:54PM -0400, Tom Lane wrote:
>> Say, as attached.  (Windows part is untested.)

> One thing that's changing in this patch is that testtablespace would
> be created even if the input directory does not exist when using
> --make-testtablespace-dir.

Yeah, I do not see a reason for there to be a connection.  It's not
pg_regress' job to decide whether the testtablespace directory is
needed or not.

> Worth noting that snprintf() is used twice instead of once to build
> the tablespace path string.

Yeah.  I considered making a global variable so that there'd be
just one instance of that, but didn't think it amounted to less
mess in the end.

> The Windows part works correctly.

Thanks for testing!  I'll push this after the release is tagged.

			regards, tom lane





view thread (18+ messages)  latest in thread

Message-ID: <2934410.1621299475@sss.pgh.pa.us>
Permalink:  ../2934410.1621299475@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2934410.1621299475@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, michael@paquier.xyz
  Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
  In-Reply-To: <2934410.1621299475@sss.pgh.pa.us>
  References: <E1lJroH-0006Oz-Gb@gemulon.postgresql.org> <2854388.1621284789@sss.pgh.pa.us> <2917892.1621288314@sss.pgh.pa.us> <YKMJ0Ri2B1yysTXC@paquier.xyz> <2934410.1621299475@sss.pgh.pa.us>

* 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