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 1nuKaB-0004gZ-Db for pgsql-hackers@arkaria.postgresql.org; Thu, 26 May 2022 20:59:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nuKaA-0008A9-9k for pgsql-hackers@arkaria.postgresql.org; Thu, 26 May 2022 20:59:46 +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 1nuKa9-0008A0-UQ for pgsql-hackers@lists.postgresql.org; Thu, 26 May 2022 20:59:46 +0000 Received: from mail-il1-x12a.google.com ([2607:f8b0:4864:20::12a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nuKa5-0003Aq-Kf for pgsql-hackers@lists.postgresql.org; Thu, 26 May 2022 20:59:45 +0000 Received: by mail-il1-x12a.google.com with SMTP id b11so1879391ilr.4 for ; Thu, 26 May 2022 13:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HDqKNAN4kQCHFAR1ARiJa6RnXSyvoGmeg/cy41HFSI0=; b=U+1ZDI+7kR2C1gkaqcPyS+QxP3Yzy3Otrtg82szY9FSpNQRNHJxGIRd2rz2LBWhkWs G5lv/8ZUYEHfhbPEvVvHFNgCB1TN9Qz/Xu4oKj/ct+5E3QGYVvIihjox8pSMGnW34buu 9cMKeo9E/U7NPS4/CZR7qSojWYXPfG/0EjNEy6f0IJP89EoXuI8iCGzrtHzJIHENhgtt LHGJiPWRls0xNCGoJyMEwvDzYuBAamC4Qe33Vz7b8bUl/DpuNFHwZrdEf044M+mwFi4q A0d/xZ8RikJq0osd2in4e4Vlsc1k28JCk8ods8aZ4w/DSYoGRXf3YJyiJChWgaDfxyHg tCtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HDqKNAN4kQCHFAR1ARiJa6RnXSyvoGmeg/cy41HFSI0=; b=tobIVtBk/vzg6ORamdXXIblCZxu1ZnRHQupbs9XE9dKLesZqUkKvub6SZVhAgiAZD6 AK6H5c/u41IkdntZhtr7Lv5D+oVU8SkOta87YrTaLz99IwAL5V9tHD7GVyjvkLyDk/Yg i2bzwvj/k7iOHxwMBTITObH6m9Qk9UAN8bLRDHfeNLtqgsSdQ7ZaR41CuL1VTpcrz9df NflKyu1926GE5ZkCmMBZaIhV5NYmmQCJfyjkDsmiI5NE71zNvvidZpKnqdAFNYJtBB8V hEUPKVmpM/AWgEbhuOVZ1DQu3NZ17L1l8bRCywm3hKriF8+yoRImRS+kv+jJBh4ehgv7 70Ig== X-Gm-Message-State: AOAM530RgRadx1rvhIbUT6nYRN67Ehy2NnGafDhQM5xCy3K5EEreAptG gQ0pzo47iTdt2DtE/B0qDD2h5iP4xuHfqVrbMT4= X-Google-Smtp-Source: ABdhPJxDOzLCCzVnx3x+aaPvcig9xPTDKOTMpIfEEydO4PJCyYiG/0jHzGv12y3uGZOd+6ZPPtZ8EhjKbDOqgA2juw8= X-Received: by 2002:a92:d0a:0:b0:2d1:e698:5c4c with SMTP id 10-20020a920d0a000000b002d1e6985c4cmr4160939iln.316.1653598780017; Thu, 26 May 2022 13:59:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Thomas Munro Date: Fri, 27 May 2022 08:59:01 +1200 Message-ID: Subject: Re: Bump MIN_WINNT to 0x0600 (Vista) as minimal runtime in 16~ To: Michael Paquier Cc: Postgres hackers , =?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, May 26, 2022 at 4:27 PM Michael Paquier wrote: > Perhaps the async work? (Checks code...) Looks like the experimental Windows native AIO code we have today, namely io_method=windows_iocp, only needs Vista. That's for GetQueueCompletionStatusEx() (before that you had to call GetQueuedCompletionStatus() in a loop to read multiple IO completion events from an IOCP), and otherwise it's all just ancient Windows "overlapped" stuff. Not sure if we'll propose that io_method, or skip directly to the new io_uring-style API that appeared in Win 11 (not yet tried), or propose both as long as Win 10 is around, or ... I dunno.