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 1okeGg-0007sW-Tg for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Oct 2022 04:31:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1okeGf-0003Bx-4W for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Oct 2022 04:31:53 +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 1okeGe-0003BX-H2 for pgsql-hackers@lists.postgresql.org; Tue, 18 Oct 2022 04:31:52 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1okeGa-0007L8-HL for pgsql-hackers@lists.postgresql.org; Tue, 18 Oct 2022 04:31:50 +0000 Received: by mail-io1-xd33.google.com with SMTP id b79so10687621iof.5 for ; Mon, 17 Oct 2022 21:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=wa8rKLsn4y0iP5SomTA0ocEUxOTS7WgUblzkQzggD0o=; b=ALp9EnPn/Gh08Swhe0FVaGGsvIkmopYNsCMRa4iHqdM3byOe02FNfKGQXVe2zJViVz 3X7+rLgFJVtu0li2QU7IVYHjIMgmk1MgsyfxR4nMdKEMbFaBXlCLoj/GKeVeScAr4olb jkvm0RBUCPL/ijLwVkyVe4Iq5po9zhmIiUdnMQoKKDfgxaiN7xDaKJp/HgOqkJP3xGi1 nVLR7Xe2lwgREc43P2asCY9J4DSrenBmvhxrPKnislLWatBTo8nbv2m93tXweYkd4gnP TuD2TEdqhInekyxAzBPpcxMsFMqFEa3+HisBW2kJbotzYXUA97FMWC3vrfM55eNmuaXY fdTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wa8rKLsn4y0iP5SomTA0ocEUxOTS7WgUblzkQzggD0o=; b=7PtrYTZYqw8v7HLS+/4LOk0oPDoUDdv6FGnE4VFOZKzP9haz3J/WJiMfav9P3STlCi kEsoYs4fLez9fKoumngKty/h5UMYGZZOXbshbWqAWsHat45mahv3l7Qigc9fvzChpzW3 WTArXZU5s5lkZ+A03d9xCyxoU4+HFEfDh0GK5u/a2GAiJNxXfHK6EkKusUPYkoO9kkYQ fyKJ1x0niVXAIpVhf/xgSwDz5Lfe3L7PjksRGO8HMCSSuy+XNK9f0Pt8O4jTrNbNfrJx 11Da/AdLEhA/5r9MMXQbuI6osd5NK4weuDSbpPKguPpJDVfLHw76Q305alAnfU9nAS2j WqSw== X-Gm-Message-State: ACrzQf2CRVYSXMKYeOx/aIEPJvbfRc/EqvCTRRTVb95greu7lp/aycnh XGc0NrYso1KZWu+BBDT68umeaA== X-Google-Smtp-Source: AMsMyM6bxd7p0/3+ZpRI+lKnLg6tGG3nQaNIkh96r84AVTFhBOC6MruFjQ+DvRmR+SXpaNnzq6lODA== X-Received: by 2002:a02:7a46:0:b0:363:b724:1b29 with SMTP id z6-20020a027a46000000b00363b7241b29mr965541jad.165.1666067506079; Mon, 17 Oct 2022 21:31:46 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id m26-20020a02a15a000000b003641323267csm656133jah.142.2022.10.17.21.31.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Oct 2022 21:31:45 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 89DDD800CA9; Mon, 17 Oct 2022 23:31:44 -0500 (CDT) Date: Mon, 17 Oct 2022 23:31:44 -0500 From: Justin Pryzby To: Michael Paquier Cc: Thomas Munro , Andres Freund , pgsql-hackers@lists.postgresql.org Subject: Re: pg_upgrade test failure Message-ID: <20221018043144.GF7745@telsasoft.com> References: <20220919213217.ptqfdlcc5idk5xup@awork3.anarazel.de> <20220920013122.GA31833@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Oct 18, 2022 at 01:06:15PM +0900, Michael Paquier wrote: > On Tue, Oct 18, 2022 at 09:47:37AM +1300, Thomas Munro wrote: > > * Server 2019, as used on CI, still uses the traditional NT semantics > > (unlink is asynchronous, when all handles closes) > > * the fix I proposed has the right effect (I will follow up with tests > > to demonstrate) > > Wow, nice investigation. And cirrus does not offer a newer option > either.. Currently Andres builds images based on cirrus's 2019 image, but I think we could use any windows docker image. > Do you think that Windows server 2022 (successor of 2019) is > able to use POSIX semantics for unlink()? I think it's possible to use it now, like what's done here. https://commitfest.postgresql.org/40/3347/ The only caveat is that it's done conditionally.