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 1mkmUv-0002By-RG for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Nov 2021 12:14:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mkmUu-0000gr-F7 for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Nov 2021 12:14:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mkmUu-0000fy-35 for pgsql-hackers@lists.postgresql.org; Wed, 10 Nov 2021 12:14:36 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mkmUs-0003h2-8E for pgsql-hackers@postgresql.org; Wed, 10 Nov 2021 12:14:35 +0000 Received: by mail-qk1-x72c.google.com with SMTP id bi29so2234073qkb.5 for ; Wed, 10 Nov 2021 04:14:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=0ogVEnbUwoHeJj9fuijZN5S6qFSqi1QYqHVK6UApuXU=; b=8ABH5hnichhw8MKMOC/OuGMTAPDvQ5bdsah2C8RZgAgeEi3ElmmLxAfsdhMOQKAkt8 +XCWy7aCtPzOBUKtpQOmd1CqOrS1HffkE3RnFKd+8422GnC7IlBYwTS6EL9PTzoEdTFR V4g3UZCfKoCSFzZmx843JQ6S6r8b1AJZwGHlDKRkWn6kao9tZE+ipRc5XWEvd5bA7MJL sEZDHuAODW/oFQ12I/seDI3HbZB1RUD9omytLrwpkIF/3dfTCyUDN9WnakDQxnvvGapc NQOwr+yB5OJ5X8zbRwzIfhTPJa4/7xTe4+p0SMj5rtY5NBRvrKKCQvZFJqVNpyjaSXZp sxBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=0ogVEnbUwoHeJj9fuijZN5S6qFSqi1QYqHVK6UApuXU=; b=Deg5ykYvi5M5K+qRCiwhsSJhZdYx3YFJ1Frj04D5o00s8zO6kHTSSmoWWTMrqgbkWJ 4C5MrYNPtOCRI1Zhp7ehgWE2sgd9bD9wOzXhNW+xoUr8Kwj4qEF5foKaRaQ7rStb0Ls7 KGlf5O5LIkbP9q/mt8FM/UwZS+7+mK3dSdVUPR+Ek7wtBmeyN23fSHECDRRhexhlbRQ9 arqulJ7Mpys1MaGtpElnm+LKNEkQN+ZcVDZ/f3/Z2tten6EDfIY28EFqfeyLCRqP23sN UVC961WBx0XTY3vOjfWI35hOXOsCOQ22uxmANd5C+vK6q7rQcNMtlmkoK9y+jPwzpgHs CcOA== X-Gm-Message-State: AOAM530P/0bljWAAg346nRW7sQ9oPfpgc9SX9oV1dplFInsyKQvUU5ns uzHJVGXWdq95n1aY08If7FGYNg== X-Google-Smtp-Source: ABdhPJyamWKCZpxtMQlfib0ZsC1lb1E56Sqb5ra/tfJIEKhhxDC7PzrdDXKoVXc7NTchAywHLmC92A== X-Received: by 2002:a05:620a:21c2:: with SMTP id h2mr11949670qka.387.1636546472669; Wed, 10 Nov 2021 04:14:32 -0800 (PST) Received: from perhan.alvh.no-ip.org ([190.95.18.47]) by smtp.gmail.com with ESMTPSA id v15sm13542374qkl.91.2021.11.10.04.14.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 04:14:31 -0800 (PST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 073C22A07D2; Wed, 10 Nov 2021 09:14:30 -0300 (-03) Date: Wed, 10 Nov 2021 09:14:30 -0300 From: Alvaro Herrera To: Kyotaro Horiguchi Cc: michael@paquier.xyz, daniel@yesql.se, guopa@vmware.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, ibrar.ahmad@gmail.com, masao.fujii@oss.nttdata.com, a.lubennikova@postgrespro.ru, pasim@vmware.com, thomas.munro@gmail.com, horiguchi.kyotaro@lab.ntt.co.jp, pgsql-hackers@postgresql.org Subject: Re: standby recovery fails (tablespace related) (tentative patch and discussion) Message-ID: <202111101214.buuhq756cbbs@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211110.171411.1604652159337106356.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Nov-10, Kyotaro Horiguchi wrote: > I bumped into the good-old 100-byte limit of the (v7?) tar format on > which pg_basebackup is depending. It is unlikely in the real world but > I think it is quite common in developping environment. The tablespace > directory path in my dev environment was 110 chacters-long. As small > as 10 bytes but it's quite annoying to chip off that number of bytes > from the path.. Can you use PostgreSQL::Test::Utils::tempdir_short() for those tablespaces? -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/