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 1lP4qh-0006Br-6O for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Mar 2021 14:51:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lP4qf-0007Fv-Vx for pgsql-hackers@arkaria.postgresql.org; Wed, 24 Mar 2021 14:51:05 +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 1lP4qf-0007Fn-PY for pgsql-hackers@lists.postgresql.org; Wed, 24 Mar 2021 14:51:05 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lP4qd-0006Ql-Ns for pgsql-hackers@lists.postgresql.org; Wed, 24 Mar 2021 14:51:04 +0000 Received: by mail-lf1-x135.google.com with SMTP id b14so19135877lfv.8 for ; Wed, 24 Mar 2021 07:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mCuGJW3a4jOvPxmFBke5BKOijxqGDvnm0lAOtTxlwMo=; b=lg+0ZtOgIdAmd8DIyYI3AuKkKezh6DKhM6IX4Z/s5hPPXnynQ0/3roW8NJxHxIfhqJ kaE0EI4azNOdg6tfOsO46py5I14ZwQKM6t+GI5WF4kIcT5rM61H61PkXbI29HLr8rfZZ aWVI51XFHgE/TwtujO2CJQjdcXZdYcziHe5lIEO9WGFMK86Qv/BQcIlA6ay54ijuZ7RV Gdot1RX7zfoWaQ6ZVTuPvNqA8BKuwxeOgffLjKXFJM/IxeUmOaOgMbZiU8bbMnzNO0SF 4B1ZUQt5w8Cp8yg6GOK8Qvd+0fux3HfQGUHhSh2zas++jldr8gy33eTXau52VeqEd1HD cLqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mCuGJW3a4jOvPxmFBke5BKOijxqGDvnm0lAOtTxlwMo=; b=ocrURz2jkB26PscVN/b3js/XT7c7zqid4V12JVtAGKXjZhO/BgP2r/B8oMuJ37NBNf MA4XXBKP/AO+WJf5ewk0nQPDEUL84JfQbWofmdoUPQgAWxbgIPJwywOk5018UENOdO1E Ly1CvsRvlVlddYOVmMoqLQDphIdsfuCraHZwZOPe8rFUiGyWlAAG/Kjau9r6zA54gLbj NBl7D6+/oVjVmMYH7YmUUpuvufIQNCMOushmIT7ElhYE2q3l6dJCnP3IOts9kos6Qoom PV7O2diO0oXkjTbxEsZEuLYenyCtoTMnQTGuCotm82VamjgnTIqTWPWoPdzYxxxZ/XTN M3jA== X-Gm-Message-State: AOAM533rqAy/+FvUGANC4OIEcNaqf1qAHxdTAc48RJSBFrYrkMEnsn/D nseYtJqMun6XaidoqEZk2hIvLZzV2OPGYyumh7Y= X-Google-Smtp-Source: ABdhPJw6lD+rXotSTdJOPCS4P7BeiIkiRCDG+ko+qeTbjVCBIKlrdFqaU4ePeCakY91uYt/DUjKBl2geFEVMsGa8EMY= X-Received: by 2002:ac2:5144:: with SMTP id q4mr2285484lfd.145.1616597461244; Wed, 24 Mar 2021 07:51:01 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Robert Haas Date: Wed, 24 Mar 2021 10:50:50 -0400 Message-ID: Subject: Re: pgsql: Move tablespace path re-creation from the makefiles to pg_regres To: Christoph Berg Cc: Michael Paquier , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Mar 24, 2021 at 5:56 AM Christoph Berg wrote: > Maybe creating the tablespace directory from within the testsuite > would suffice? > > CREATE TABLE foo (t text); > COPY foo FROM PROGRAM 'mkdir @testtablespace@'; > CREATE TABLESPACE regress_tblspace LOCATION '@testtablespace@'; Would that work on Windows? -- Robert Haas EDB: http://www.enterprisedb.com