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 1o605S-0006lh-Ga for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Jun 2022 01:32:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o605R-0005HD-39 for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Jun 2022 01:32:17 +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 1o605Q-0005H2-MQ for pgsql-hackers@lists.postgresql.org; Tue, 28 Jun 2022 01:32:16 +0000 Received: from mail-qv1-xf2f.google.com ([2607:f8b0:4864:20::f2f]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o605J-0001uY-DW for pgsql-hackers@postgresql.org; Tue, 28 Jun 2022 01:32:15 +0000 Received: by mail-qv1-xf2f.google.com with SMTP id cs6so18016011qvb.6 for ; Mon, 27 Jun 2022 18:32:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9keO9+gFjE0fad5CmPC9hunIfUFTxCRi6Us3qwivmlk=; b=FrBzumkSluDSH/ubZc9rXi0j8Fa8EmpIY44iOJfzmeaGuu6omrpeN/irKOK36jnpah mK+L6putHiuYk+QrPN1f8h5FFrHfOHQZ7I1KTMSPbCLsKqFfCEKwpYcdm8lkK/V2SAHD iQ269REKUVmGM7qn56hzeitK1HlaD65r4hHPtpW0K8iK+8PbNaLTrYOoPTIGF8TQHuTv N/5vhT1A9iERGyQUgHzpxeOOIUERoaRN/mdLYKR2NdBqb1o9LkP0uf6l9pZzKnjIGxXt qna9mrT3VFUyzIy6yd1wWb1vQJoEk3kiUd3sjCEGjIrrH3WpPUJg94cRhoa9gEFlaa6o 60rw== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9keO9+gFjE0fad5CmPC9hunIfUFTxCRi6Us3qwivmlk=; b=5ooN5jvXSamtt1UStILsWfz0IB5PSws/b6q/5rplkOIS1oNJ/wtR21eWQiBltEMuXj 77SugdZP37sJIvvalyaq8XYguJkQLYgvQyX7haUk2GNCzcx5ELs7097Hp+CQeuJBersV qaoECxKWQwuBsEbcm3/goVxD/VdtE874jvUnp3a3Knnp0pFsvbmOmsAXfz5Y8PBh9dhG AaETlVSM0NqDWfrzDNexpqXRnR/SkbdHqRsG5jgyEDrH8HtuhC7B9AQncalfzYYGsU0k +IkhSFtKnnJdwHuN3ntoYhOUCQRRW7nYIBIUqbl6FvNME8pcEgXmRM8gD/L+gQ08+zSH n/Tw== X-Gm-Message-State: AJIora+FbUvw2mxFrcYkljsV8QBjBCcn/yp+04mMBMkO3Vx5ZRnVjQI8 EOCOEEU6C5NhyiW1+tg7pi/pBQ== X-Google-Smtp-Source: AGRyM1s+fXMxv8qn3God/nNzDvwRMcS8k/i8qGmf2RB2Hh7ceyheV4WykmiGHrfVJc6whPDfZUvVlw== X-Received: by 2002:a05:622a:1903:b0:317:76cd:fc4b with SMTP id w3-20020a05622a190300b0031776cdfc4bmr11499018qtc.226.1656379926910; Mon, 27 Jun 2022 18:32:06 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id c7-20020a05620a268700b006aef1e5eb87sm10194935qkp.24.2022.06.27.18.32.06 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jun 2022 18:32:06 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 48C878006D0; Mon, 27 Jun 2022 20:32:05 -0500 (CDT) Date: Mon, 27 Jun 2022 20:32:05 -0500 From: Justin Pryzby To: Peter Eisentraut Cc: Michael Paquier , Julien Rouhaud , pgsql-hackers@postgresql.org, Daniel Verite Subject: Re: ICU for global collation Message-ID: <20220628013205.GH19662@telsasoft.com> References: <20220121135119.ywszwl4353v5dzh5@jrouhaud> <20220121161331.xn7fhtfg5j2ucilb@jrouhaud> <87e93704-b7f7-71f6-161d-8713e6334ed3@enterprisedb.com> <704405ed-f1fa-d2a7-b9f9-48a07fb45648@enterprisedb.com> <20220625151930.GH22452@telsasoft.com> <20220626035124.t36putp232nfl5im@jrouhaud> <54b7bd53-ae10-6258-21e6-b799f7480803@enterprisedb.com> <97f2c29e-24d9-3660-60cf-9138c0c47d90@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <97f2c29e-24d9-3660-60cf-9138c0c47d90@enterprisedb.com> 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 Mon, Jun 27, 2022 at 09:10:29AM +0200, Peter Eisentraut wrote: > On 27.06.22 08:42, Michael Paquier wrote: > > On Mon, Jun 27, 2022 at 08:23:59AM +0200, Peter Eisentraut wrote: > > > On 26.06.22 05:51, Julien Rouhaud wrote: > > > > On Sat, Jun 25, 2022 at 10:19:30AM -0500, Justin Pryzby wrote: > > > > > > + if (GET_MAJOR_VERSION(old_cluster.major_version) <= 1500) > > > > > > I think the fix here is to change <= to < ? > > > > Yes. > > Ok, committed. > > (I see now that in the context of pg_upgrade, writing <= 1400 is equivalent, > but I find that confusing, so I did < 1500.) I suggested using <= 1400 for consistency with the other code, and per bc1fbc960. But YMMV. -- Justin