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 1lOs12-0000vW-6L for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Mar 2021 01:08:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lOs11-0002sb-5J for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Mar 2021 01:08:55 +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 1lOs10-0002sT-UC for pgsql-hackers@lists.postgresql.org; Wed, 24 Mar 2021 01:08:54 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOs0u-0008Si-Kt for pgsql-hackers@lists.postgresql.org; Wed, 24 Mar 2021 01:08:53 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 5B093FC7; Tue, 23 Mar 2021 21:08:47 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 23 Mar 2021 21:08:47 -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=etXAt6Fndg2hLOfNQ2toP+nYIB/ 49Kn667xcjnkI/dg=; b=qov86GNUIFyrIDM1/6GV7VMv7jWQHUfb+6el3FVVYrq +JiQ64Eknxxyjp1aLbx8a/o0eyRubcyklIF8cRIkD897/RJAJ6x7agQd0rkiG1j9 D6GqK3WGtfK2Hmx7w4yyj0kxj0Bd8O3ZeQd8NnKHI3OjsY8r6ieboG1qzx4M3F4u V2O3+8TCcd97f3ldQHUMWY3jglhrxUJBIVK1xyQKW1WP3CWKDzh7V9xN/B1hTKtH 6/PMIg1gGwW9Z7ECnq1U/fm4bjlXG5zylb71a4hb8W3rtq+NymOiyOw+FKP7yLSB g4S3BfWrE6TBneBhbG4W4iy5u4SD5qty/iGOyeMhBGw== 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=etXAt6 Fndg2hLOfNQ2toP+nYIB/49Kn667xcjnkI/dg=; b=UvzlLX44Iv7MY8z48WH3Tv m8Asc5RVLxGmFLpB3gcKoY5pvVGA8/oGqhCqtZjXZP7k+HWmx/qoLAEynn2E+KsY iio5Uc4qv7ZtCNqV4iFz0PNGvU9Yu5KBPWUlryh9ExT8fso//TCmToJ4whdTyTWu M3MggBW2PGUqbdfp6jwrsqBH1z81dLioAjEesVm6xp9YsD9XCdma3Kp6bNA6f3aZ UWiDxOoEE4Dy9bqP4VxoapYbtyOeCx1EgzjY4mki319mWoP6G2rFXqySP0SSSnLu q28OLayJD9rskyzVeuqdDx3uvJXpv7Yw3OdP2+Ml55fsqdOPJYZenOHwmayuJAzA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudegjedgfeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpeetgefhteegffejgfejtdekledvgfeufeeuteeivdelieegffehgeeuudejjeekhfen ucffohhmrghinhepuggvsghirghnrdhorhhgnecukfhppeduuddurddutddvrddukedtrd dukeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhep mhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 66A6E108005F; Tue, 23 Mar 2021 21:08:45 -0400 (EDT) Date: Wed, 24 Mar 2021 10:08:42 +0900 From: Michael Paquier To: Christoph Berg Cc: pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VO7arMUWq1g4i3Py" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --VO7arMUWq1g4i3Py Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 23, 2021 at 12:50:29PM +0100, Christoph Berg wrote: > I'm working around the problem now by running the tests as user > "postgres", but does completely break in environments where users want > to run the testsuite from a separate compilation user but don't have root. >=20 > Old code: https://salsa.debian.org/postgresql/postgresql/-/blob/8b1217fca= e3e64155bc35517acbd50c6f166d997/debian/tests/installcheck > Workaround: https://salsa.debian.org/postgresql/postgresql/-/blob/cbc0240= bec738b6ab3b61c498825b82c8ff21a70/debian/tests/installcheck So you basically mimicked the makefile rule that this commit removed into your own test suite. Reverting the change does not really help, because we'd be back to square one where there would be problems in parallel runs for developers. Saying that, I would not mind adding an option to pg_regress to control if this cleanup code is triggered or not, say something like --no-tablespace-cleanup? Then, you could just pass down the option by yourself before creating your tablespace path as you wish. -- Michael --VO7arMUWq1g4i3Py Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmBakRoACgkQnvQgOdby QH2wIQ/8CpgfpTE6FZ4O/9/kOtsZu90mHoGgsocabvdgpM0MWzSFHRzUMy7I9OBQ dpZxmpKVdOyseSTq+7nSUrFK5Thf5Y6yhcYJwuOAxUILUQy1u6Wk3kbo+If/50m2 b6r2JwyTNPlhQLTOVemrQOD/kGxHf694ReycyrOHSgW5WI0tpcTO+7gkeEyK4Y2f iQFEOkXC545VvblR/XctsJv3ycMH3Ty0kSdt+wWRH65RdYMD9w4sKv0TMkiO9o55 LrtQxY4XYRT3PwaZMLJIuwRU36kmGs2qpYZ+J1ZKTlLZ/ZXhWE9c3KSmwWEfYvby j7xdk7BNnM7+oUiCq4f/6pfgrHuF+9RTZrxMKi8NZT4tK79b34x7gFp4xQYtrbu4 6AfFujEsn+tknV53nP6bqTzazSuauR2Th0c6ExPU/zrWU3L4Rhj2VSLxSM4OnmQf oco4JCV/fD87PS3etDqZWXtKxLIsQxoPls4Csu0RGSQTQuIbuAmF3KZ+n+uMLv8j Qm+aBq+xffawbamUl3fudXOGPCt+Q6h+aftcfuIyh1GRvxiEavpqcX5MWEYimjKm IRKgYT6QPOpBbYI7KnY9L8kyIlEiJS7iaD8vVgZO5RVMLW/3cUe6IckN3gm5H9TZ hllYynG0Lfvl0FGe1VRR8gy88cCkhd6KORuk8UiZcvyli4TVHFk= =jqTA -----END PGP SIGNATURE----- --VO7arMUWq1g4i3Py--