Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lio7o-0001os-GG for pgsql-committers@arkaria.postgresql.org; Tue, 18 May 2021 01:02:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lio7n-0007gb-DD for pgsql-committers@arkaria.postgresql.org; Tue, 18 May 2021 01:02:19 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lio7n-0007gT-7Z for pgsql-committers@lists.postgresql.org; Tue, 18 May 2021 01:02:19 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lio7l-0007Vy-9S for pgsql-committers@lists.postgresql.org; Tue, 18 May 2021 01:02:18 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A23C510A3; Mon, 17 May 2021 21:02:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 17 May 2021 21:02:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=5Br5DBCNEUwwfuy5+65I3Vul280 0eaCjK201/TA3IvA=; b=L+3unufCbcHmMDbG6lIhPP/s1nzO0FpyGRk5ggajpf3 qZIEQ0o6R/XwQqDFLnXeSEAfZdZPQljwmC57+c/ow6wFaldd5FgbXn+qNWOb97Ae KlsLEuvmROWiu5lGhZamN7Ngl5Dh6EfXzO4UvJesHejZ6hxIYCniTWqRMw6iujuv ZvIUJERvg3DNO77ah9CAb4TWIhmL1e3VRbwDUakMqetzUEAE3zH41W9ul/4qoF6o 0NmrJs7pc63nTOh5VEnHOhePjM5JhawH2NYNgxevvRLEXbeuqgWTRopTBrOKwwb8 v73dmHYoOaK4EsEvWcLcnDxfoXas5iltWPmPOu3woSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=5Br5DB CNEUwwfuy5+65I3Vul2800eaCjK201/TA3IvA=; b=lOc/Q1SGytXlRdY3rj3t95 6pA0Ey9GHPSYO42G5XA1uPmERfy2kKYfTfhVQ3fiWzLILnTIup7y6dr15Wo15GkL zldhYDTFd6j1tMGP1l3Yt8z67kf2zOZECVHfswCT3lYM/JTakn/tzGY268qlERYt DkenSlMxDPcei3IBn2fvwYk0vFB8rQ0uHqtTNZSeBzaa6V+bD5TcCcjlaWNLRoNN HT2JAaRN0e8yLvKMCgXLHDnp2ohW/i8LG8zHHqcmvzrxQeeSFSw/jLB0LL7Y4p0K COd547ePo5hq7qaGyoJs1LXDT7IzPQPE52Sxt39+VZjjtfFnyCEbFExvBXwJvM/A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdeiiedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucfkphepudduuddruddtvddrudektddrudekheenucevlhhushhtvghrufhiiigvpedune curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 17 May 2021 21:02:13 -0400 (EDT) Date: Tue, 18 May 2021 10:01:54 +0900 From: Michael Paquier To: Tom Lane Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres Message-ID: References: <2854388.1621284789@sss.pgh.pa.us> <2917892.1621288314@sss.pgh.pa.us> <2934410.1621299475@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ChlL4yejCumSyPZs" Content-Disposition: inline In-Reply-To: <2934410.1621299475@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ChlL4yejCumSyPZs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 17, 2021 at 08:57:55PM -0400, Tom Lane wrote: > Michael Paquier 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. >=20 > 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. >=20 > 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. >=20 > Thanks for testing! I'll push this after the release is tagged. Thanks! -- Michael --ChlL4yejCumSyPZs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmCjEgIACgkQnvQgOdby QH0/DA//QOcG3DCy18NVA8NDY40LqiicHsY6eRoxdsUewnr8msrtxlUGpezs011S G1RG2iYj9Zhj7OmKg9E99arG5rZqWreitw7Sej7+fgU3Wmt4l1NrqLoVM2BiyXEw fIYs/BzyuEESc6+n70T+8iQipzlBySj45fNiU3C8xgq0byWHMs6EvawToc1LjRcU vc1CualucrAZNbpny8j+3ShMYomK7tiOLiz3lvL3f8BAglfXVNEU801491VmlB1o fbi3BGvqMfbvwn67pV/MDqXOd/ssS3X62chqOMU9gg0S0hiw7X9WOriLdIT3pe+F L8yt5gD1jVjftzRli5AJY0+bKIlcyblgSbK/I/nv5JT4MOG8Te5x6wsbQ5RDg1HG iNMsz/m3+z4ZRcMde91KqRqx8Y5dvB/sz/21nbLodmAjzHPsvCqDhsP15iSPQQTw 5xn5hxdzIt2LEPV49BLVbuQveFq+N1FZto0JbDeQb4PwOgOkiyvzYuZ5p2ArBI/C eQ1QG2lp83kXKie8aFkEjqyiQvQITpqHcDJfIYB/dJEV1L6FdjVgClcOwIkekqF2 3cd4ch122foXVdRbZshdc5WdPNTYEcsZ7maunRizEuynULfXmg6xk+KJQpNa9pQg IyFDWDOA1lqe46uPmGY8U3QmYYCdwCvQw7m3k6RdHU9xAfbP7pk= =3np7 -----END PGP SIGNATURE----- --ChlL4yejCumSyPZs--