pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
Date: Tue, 18 May 2021 10:01:54 +0900
Message-ID: <YKMSAoSqh7Pvltus@paquier.xyz> (raw)
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>

On Mon, May 17, 2021 at 08:57:55PM -0400, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> 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.

Fine by me.  I don't think that's a big deal either way.

>> 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.

No problem from me here either.

>> The Windows part works correctly.
> 
> Thanks for testing!  I'll push this after the release is tagged.

Thanks!
--
Michael

Attachments:

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

view thread (18+ messages)

Message-ID: <YKMSAoSqh7Pvltus@paquier.xyz>
Permalink:  ../YKMSAoSqh7Pvltus@paquier.xyz/
Also on:    postgresql.org/message-id/YKMSAoSqh7Pvltus@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, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres
  In-Reply-To: <YKMSAoSqh7Pvltus@paquier.xyz>
  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> <YKMSAoSqh7Pvltus@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