Re: Inconsistent results with libc sorting on Windows - Mailing list pgsql-hackers

From Joe Conway
Subject Re: Inconsistent results with libc sorting on Windows
Date
Msg-id 9bbd72c1-ee76-bd48-81be-8cf67dc90625@joeconway.com
Whole thread Raw
In response to Inconsistent results with libc sorting on Windows  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers
On 6/5/23 18:07, Daniel Verite wrote:
> While trying pg16beta1 libc collations on Windows, I noticed that UTF-8
> text sorts sometimes differently across invocations with the same
> locales, which is wrong since these collations are deterministic.

<snip>

> Also, it does not occur at all if parallel scan is disabled.

This is a wild shot in the dark, but I wonder if somehow the locale is 
being initialized (i.e. setlocale) differently in the parallel workers 
than the backend due to some Windows specific behavior differences?

-- 
Joe Conway
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com




pgsql-hackers by date:

Previous
From: Tejasvi Kashi
Date:
Subject: Tracking commit LSNs of tuple xmins for read txns
Next
From: Bruce Momjian
Date:
Subject: Re: Let's make PostgreSQL multi-threaded