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 1lVrdl-0006kv-5K for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Apr 2021 08:09:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lVrdi-0007tG-E7 for pgsql-hackers@arkaria.postgresql.org; Mon, 12 Apr 2021 08:09:46 +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 1lVrdi-0007t9-6M for pgsql-hackers@lists.postgresql.org; Mon, 12 Apr 2021 08:09:46 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lVrdf-00086t-7t for pgsql-hackers@lists.postgresql.org; Mon, 12 Apr 2021 08:09:44 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1478:7c00:76e5:bff:fef3:7e00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4FJhGr37H3z3DyC; Mon, 12 Apr 2021 10:09:40 +0200 (CEST) Date: Mon, 12 Apr 2021 10:09:39 +0200 From: Christoph Berg To: Michael Paquier Cc: Noah Misch , Robert Haas , PostgreSQL Hackers Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres Message-ID: References: <20210325025659.GA4017435@rfd.leadboat.com> <20210410030710.GB978274@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Michael Paquier > http://commitfest.cputube.org/michael-paquier.html > > So it looks like this could be a different answer. The mkdir() function looks like a sane and clean approach to me. Christoph