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 1jM9Gu-0002On-D7 for pgsql-general@arkaria.postgresql.org; Wed, 08 Apr 2020 11:53:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jM9Gt-0000nb-8X for pgsql-general@arkaria.postgresql.org; Wed, 08 Apr 2020 11:53:31 +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 1jM9Gt-0000nT-0p for pgsql-general@lists.postgresql.org; Wed, 08 Apr 2020 11:53:31 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jM9Go-0007Fg-9Z for pgsql-general@lists.postgresql.org; Wed, 08 Apr 2020 11:53:29 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id B1BDB2BFA; Wed, 8 Apr 2020 13:53:23 +0200 (CEST) Date: Wed, 8 Apr 2020 13:53:23 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Mixed Locales and Upgrading Message-ID: <20200408115323.GA17021@hjp.at> References: <5624.1584372534@sss.pgh.pa.us> <31606.1584453361@sss.pgh.pa.us> <1182.1584456350@sss.pgh.pa.us> <20200318022525.GE214947@paquier.xyz> <1505.1585603832@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="W/nzBZO5zC0uMSeA" Content-Disposition: inline In-Reply-To: <1505.1585603832@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-03-30 17:30:32 -0400, Tom Lane wrote: > Don Seiler writes: > > Actually, would I need to re-index on text columns that we know contain > > UUID strings? UUID characters seem to be pretty basic alphanumeric ASCII > > characters. >=20 > I think you're all right with respect to those, since they're the > same under any encoding. It's columns containing non-ASCII characters > that you'd want to worry about reindexing. I'm not so sure whether all locales agree on whether to sort digits before or after letters. However there are only two possibilities and that's easy to check. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --W/nzBZO5zC0uMSeA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl6Nuy8ACgkQ8g5IURL+ KF3sqRAArpNG3bntNKHN3V6cycGOaHBMRDs9Xw8KsKfNr9PUa1pk5jD4wdOwlA9H GDj4PwEqmwzvEVbavUzZlrTdHVxFecjsA9s/ewh99FJ20l8M5cx+o7L5E10keoxG nDCV16INXDXeVoiiLZJt7XpfmPIocmDcxNXFuxraM5UHExS3G+JNeQPi4iZjCB3/ /XvuX27mt6yZfV/7+4b8F+w7E4d378i0+jwyShlKsPQ5O2B8jhG7Swjg/4ZWClQX ogWHRMMdi64aQesMIpNE+sFBcwW1duxLRSTdM7g2M/IzaTlSssfbfIclvoVjN5iY bEWi/3X0Zsz3cq/xkO+udgUSIw2Xuq4qXg0S6srz9x2VvflY74OATz9nS3Da4rtS piTOahfwUC1OY7+okedBbp7j2D0tHSkZOuf3H5+rl9k3aUkLW4nh9V5CDMGuw67S zyXIIHk4xizZ9KThcOC5+ACloC06Mw5ZHLTl4+fs74gg3JkQhHzOnsQdLyh19TBW FpfdS3wc8pRYtaX7NPFViZPDvDJ1URei8Ri5E6TDZAz9/uWZujDOuaBwEef49MTk VYI30JQHpMNo026aPC+NtGZCpLk5fxmy/JNSbFFVcDYO0gvS6GF51bNFtsZOR9KK Fv4zphl86YxSiRGlvk2rCNAJYj5RYBaiRnEhLU99kPensuqjuzA= =OrCe -----END PGP SIGNATURE----- --W/nzBZO5zC0uMSeA--