Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5UyW-006VG7-E7 for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2024 19:00:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t5UyU-009B55-LD for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2024 19:00:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5UyU-009B4r-6x for pgsql-bugs@lists.postgresql.org; Mon, 28 Oct 2024 19:00:22 +0000 Received: from mail-qv1-xf41.google.com ([2607:f8b0:4864:20::f41]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t5UyR-003Sne-1o for pgsql-bugs@lists.postgresql.org; Mon, 28 Oct 2024 19:00:21 +0000 Received: by mail-qv1-xf41.google.com with SMTP id 6a1803df08f44-6cc1b20ce54so39307346d6.0 for ; Mon, 28 Oct 2024 12:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1730142016; x=1730746816; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=7FZpdewQUgh7s68w5Hs0vVW2pNOcWo1NUEbWM8lA/9o=; b=vnjixDO+kJaJFLClaZQ37dUAe0Nu1tId7yV0qyfGhIov24zhtvTZ0feFirklOFH2fa eu175Cd+nsYruzPM5cQGUQr1Y4irKQg27VLQl7CFg1lB+9sLYkpn3zw22TqwG8u4qfvE 9B1dpuGJrkI0eiP6noPEIozHvxhgZXY2/Kz7lS8r8BirgO8tRVjcu2FLziYnpMETSi0W JZjJzJaU4ihC1w8LMs0xvUeUBmK+mumlehp2A0ljzfZFkd9Z8R+Lu6fI0p39feZgEPxg wAWuDvkRDKC2N5UhyUNiIkAcsClNtDJmlTipihJH08Uw7ofTrUDYetqhAI04I5sD4g7s kyOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730142016; x=1730746816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7FZpdewQUgh7s68w5Hs0vVW2pNOcWo1NUEbWM8lA/9o=; b=qeRTmKeUw8iUJc5D2gVb1S2ckQ+CMhDvdPvDCpG/aDfY4prYbFV1cPeb5INp8g1Sig aPkwSBbP7RYSeQsr87hdQKqWJRWzzvFMZmv9ViE0aDOkoAzmTls5puwNfygQPH1CyzGA dNy31liHFVE7hCufZe7TIRjEmBLuOu+AaKJKSVUsPnx0zZJJv49XU/jflYY4397T5rzv QDE96nFzUsjA8fkV4UhlStI2iGD9WObewyZfItOBa3xe93fHxNWO9ernCnFQDoOi21Ef pjHnUXLLmcrWL7gJg1iJUnxIdd1h0sj04vF+5gLkgLmn+Oc3PomUl3j6mIw2q8mCeSkB oKww== X-Forwarded-Encrypted: i=1; AJvYcCWVtiujmFcLqyAL4gqA9+0g8gsZq+Ia5HO631MqnYV4URn+cB5bxJXA/ECPbpW8LVp+F/kBjlp/GMP2@lists.postgresql.org X-Gm-Message-State: AOJu0YyGXmGTtq029AEn+Qz9tFRY2ooXf7z26FVVEDQUr1Tx209b8KYg k3av7ytyi+WV0peeerDZ7adPJUJMjMbQP/8QvCeQM5y4kGGaZ16cHJSEYPzLqZw= X-Google-Smtp-Source: AGHT+IF/xlpBAPdDZ6RElk/VuPQl8BQY3FXoO2+jRaWn+vp+Rq+EKBRM76pVHTjCT3RFNgBdohp/NA== X-Received: by 2002:a05:6214:5347:b0:6cb:d512:e6e6 with SMTP id 6a1803df08f44-6d1856f4b4amr162934496d6.23.1730142016246; Mon, 28 Oct 2024 12:00:16 -0700 (PDT) Received: from ?IPV6:2605:a601:a681:6b00::2bb? ([2605:a601:a681:6b00::2bb]) by smtp.googlemail.com with ESMTPSA id 6a1803df08f44-6d179a2b073sm35176086d6.110.2024.10.28.12.00.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Oct 2024 12:00:15 -0700 (PDT) Message-ID: <982f5caf-6536-4e9f-aeec-227f31114526@dunslane.net> Date: Mon, 28 Oct 2024 15:00:12 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pg_rewind fails on Windows where tablespaces are used To: Michael Paquier , Alexandra Wang Cc: Chris Travers , Farooq Rashed , pgsql-bugs@lists.postgresql.org References: <5169f6d5-240e-49ec-9265-ddafa6e863bd@dunslane.net> From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZAQULCQgHAgMiAgEGFQoJ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XZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-10-23 We 7:03 PM, Michael Paquier wrote: > On Wed, Oct 23, 2024 at 11:19:14AM -0500, Alexandra Wang wrote: >> I encountered this issue while working on the fix for branch 14 and >> running the tablespace regress test. This simple test is not covered >> in branch 15’s regress tests, as we started setting >> allow_in_place_tablespaces = true since commit d6d317db. > Yes, for the reasons stated in this commit because we rely on > everything to be on the same host, and tablespace paths would overlap > across the primary and its replica. > >> I also had to backpatch additional commits for branches 12 to 14, as >> follows: >> >> branch 14: e2f0f8ed, af9e6331, and the commits for branch 15 >> [f357233c, c5cb8f3b, 387803d8, and 5fc88c5d53]. >> branches 12 & 13: bed90759, 54fb8c7d, de8feb1f, 101c37cd, and the >> commits for branch 14. >> >> With these additional commits for branches 12 to 14, I’m not sure if >> it’s worth backpatching, or should we backpatch only to branch 15? > 12 is going to be EOL in a couple of days, so I'd rather leave it out. > If it were down to me, I'd also leave 13 and 14 as well, based on > e2f0f8ed25 to let the beast sleep there. Perhaps others have a > different opinion. though. Well, it seems like it's clearly a bug. I'm never happy leaving bugs unfixed. As for 12, what's the point of putting out one last release if it's not to fix bugs? EDB's customer will probably be happy if we just fix 15, but I would rather take a broader view and fix it for other possible users too. I'm traveling for a few days but it was my intention to work on these when I am back. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com