RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607

From: "Haifang Wang (Centific Technologies Inc)" <v-haiwang(at)microsoft(dot)com>
To: Rahul Pandey <pandeyrah(at)microsoft(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Vishwa Deepak <Vishwa(dot)Deepak(at)microsoft(dot)com>, Shawn Steele <Shawn(dot)Steele(at)microsoft(dot)com>, Amy Wishnousky <amyw(at)microsoft(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>, Shweta Gulati <gulatishweta(at)microsoft(dot)com>, Ashish Nawal <nawalashish(at)microsoft(dot)com>, 🎯dev <targetdev(at)microsoft(dot)com>
Subject: RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607
Date: 2024-06-24 22:07:30
Message-ID: DS0PR21MB390457CD865E95CB58165268E5D42@DS0PR21MB3904.namprd21.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Hi all,

Still need to double check with you about this bug. How is it going? Any other information needed?

Thanks!
Haifang

From: Haifang Wang (Centific Technologies Inc)
Sent: Monday, June 17, 2024 2:06 PM
To: Rahul Pandey <pandeyrah(at)microsoft(dot)com>; Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Vishwa Deepak <Vishwa(dot)Deepak(at)microsoft(dot)com>; Shawn Steele <Shawn(dot)Steele(at)microsoft(dot)com>; Amy Wishnousky <amyw(at)microsoft(dot)com>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>; pgsql-bugs(at)lists(dot)postgresql(dot)org; Shweta Gulati <gulatishweta(at)microsoft(dot)com>; Ashish Nawal <nawalashish(at)microsoft(dot)com>; 🎯dev <targetdev(at)microsoft(dot)com>
Subject: RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607

Hi all,

Still need to double check with you about this bug. How is it going? Any other information needed?

Thanks!
Haifang

From: Haifang Wang (Centific Technologies Inc)
Sent: Thursday, June 13, 2024 11:47 AM
To: Rahul Pandey <pandeyrah(at)microsoft(dot)com<mailto:pandeyrah(at)microsoft(dot)com>>; Thomas Munro <thomas(dot)munro(at)gmail(dot)com<mailto:thomas(dot)munro(at)gmail(dot)com>>
Cc: Vishwa Deepak <Vishwa(dot)Deepak(at)microsoft(dot)com<mailto:Vishwa(dot)Deepak(at)microsoft(dot)com>>; Shawn Steele <Shawn(dot)Steele(at)microsoft(dot)com<mailto:Shawn(dot)Steele(at)microsoft(dot)com>>; Amy Wishnousky <amyw(at)microsoft(dot)com<mailto:amyw(at)microsoft(dot)com>>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us<mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>>; pgsql-bugs(at)lists(dot)postgresql(dot)org<mailto:pgsql-bugs(at)lists(dot)postgresql(dot)org>; Shweta Gulati <gulatishweta(at)microsoft(dot)com<mailto:gulatishweta(at)microsoft(dot)com>>; Ashish Nawal <nawalashish(at)microsoft(dot)com<mailto:nawalashish(at)microsoft(dot)com>>; 🎯dev <targetdev(at)microsoft(dot)com<mailto:targetdev(at)microsoft(dot)com>>
Subject: RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607

Hi Thomas and Tom,

Just would like to follow up you about the bug. Is there any update? Any other information needed?

Thanks!
Haifang

From: Rahul Pandey <pandeyrah(at)microsoft(dot)com<mailto:pandeyrah(at)microsoft(dot)com>>
Sent: Wednesday, June 5, 2024 2:11 AM
To: Haifang Wang (Centific Technologies Inc) <v-haiwang(at)microsoft(dot)com<mailto:v-haiwang(at)microsoft(dot)com>>; Thomas Munro <thomas(dot)munro(at)gmail(dot)com<mailto:thomas(dot)munro(at)gmail(dot)com>>
Cc: Vishwa Deepak <Vishwa(dot)Deepak(at)microsoft(dot)com<mailto:Vishwa(dot)Deepak(at)microsoft(dot)com>>; Shawn Steele <Shawn(dot)Steele(at)microsoft(dot)com<mailto:Shawn(dot)Steele(at)microsoft(dot)com>>; Amy Wishnousky <amyw(at)microsoft(dot)com<mailto:amyw(at)microsoft(dot)com>>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us<mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>>; pgsql-bugs(at)lists(dot)postgresql(dot)org<mailto:pgsql-bugs(at)lists(dot)postgresql(dot)org>; Shweta Gulati <gulatishweta(at)microsoft(dot)com<mailto:gulatishweta(at)microsoft(dot)com>>; Ashish Nawal <nawalashish(at)microsoft(dot)com<mailto:nawalashish(at)microsoft(dot)com>>; 🎯dev <targetdev(at)microsoft(dot)com<mailto:targetdev(at)microsoft(dot)com>>
Subject: Re: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607

Hi,

"Do "Turkish_Turkey.1254", "Turkish_Türkiye.1254" and "tr-TR.1254" all behave identically?"
You are correct, they all behave in exactly the same way.
I too would recommend using "tr-TR.1254" since BCP47 tags have a defined structure and this would make the implementation more future proof.

As for translation files, apologies I neither have a preference nor expertise to comment on this.

________________________________
From: Haifang Wang (Centific Technologies Inc) <v-haiwang(at)microsoft(dot)com<mailto:v-haiwang(at)microsoft(dot)com>>
Sent: Tuesday, June 4, 2024 5:39 AM
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com<mailto:thomas(dot)munro(at)gmail(dot)com>>
Cc: Rahul Pandey <pandeyrah(at)microsoft(dot)com<mailto:pandeyrah(at)microsoft(dot)com>>; Vishwa Deepak <Vishwa(dot)Deepak(at)microsoft(dot)com<mailto:Vishwa(dot)Deepak(at)microsoft(dot)com>>; Shawn Steele <Shawn(dot)Steele(at)microsoft(dot)com<mailto:Shawn(dot)Steele(at)microsoft(dot)com>>; Amy Wishnousky <amyw(at)microsoft(dot)com<mailto:amyw(at)microsoft(dot)com>>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us<mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>>; pgsql-bugs(at)lists(dot)postgresql(dot)org<mailto:pgsql-bugs(at)lists(dot)postgresql(dot)org> <pgsql-bugs(at)lists(dot)postgresql(dot)org<mailto:pgsql-bugs(at)lists(dot)postgresql(dot)org>>; Shweta Gulati <gulatishweta(at)microsoft(dot)com<mailto:gulatishweta(at)microsoft(dot)com>>; Ashish Nawal <nawalashish(at)microsoft(dot)com<mailto:nawalashish(at)microsoft(dot)com>>
Subject: RE: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607

Thanks, Thomas. I would leave the questions to Vishwa and Rahul to answer.

Regards!
Haifang

-----Original Message-----
From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com<mailto:thomas(dot)munro(at)gmail(dot)com>>
Sent: Monday, June 3, 2024 2:22 PM
To: Haifang Wang (Centific Technologies Inc) <v-haiwang(at)microsoft(dot)com<mailto:v-haiwang(at)microsoft(dot)com>>
Cc: Rahul Pandey <pandeyrah(at)microsoft(dot)com<mailto:pandeyrah(at)microsoft(dot)com>>; Vishwa Deepak <Vishwa(dot)Deepak(at)microsoft(dot)com<mailto:Vishwa(dot)Deepak(at)microsoft(dot)com>>; Shawn Steele <Shawn(dot)Steele(at)microsoft(dot)com<mailto:Shawn(dot)Steele(at)microsoft(dot)com>>; Amy Wishnousky <amyw(at)microsoft(dot)com<mailto:amyw(at)microsoft(dot)com>>; Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us<mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us>>; pgsql-bugs(at)lists(dot)postgresql(dot)org<mailto:pgsql-bugs(at)lists(dot)postgresql(dot)org>; Shweta Gulati <gulatishweta(at)microsoft(dot)com<mailto:gulatishweta(at)microsoft(dot)com>>; Ashish Nawal <nawalashish(at)microsoft(dot)com<mailto:nawalashish(at)microsoft(dot)com>>
Subject: Re: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607

On Tue, Jun 4, 2024 at 1:00 AM Haifang Wang (Centific Technologies
Inc) <v-haiwang(at)microsoft(dot)com<mailto:v-haiwang(at)microsoft(dot)com>> wrote:
> Just would like to follow up with you about this bug. Hope Rahul and Vishwa have answered all your questions below. Did you get chance to do investigations? Any other questions?

Hi,

Thanks for all your feedback! Sorry for my late replies, I was travelling and at a conference last week (at which one of the topics was "what are we going to do about the sorry state of PostgreSQL on Windows", but that's a wider topic than this thread...)

The answers are all useful, thank you. There was just one thing I wanted to clarify. Vishwa said:

"Yes, its exactly the same code and driving data , only spelling is changed which included replcement of u with ü"

That sounds like it is answering the question 'Do "Turkish_Turkey.1254" and "Turkish_Türkiye.1254" behave identically?', which I had already assumed to be true, but I was actually asking 'Do ""Turkish_Turkey.1254", "Turkish_Türkiye.1254" and "tr-TR.1254" all behave identically?'. It sounds like the answer is probably yes, but the mention of "u" vs "ü" implied a narrower answer than I was looking for... It's important, because we're proposing to translate to "tr-TR.1254".

Since no one has come forward to test the patch I wrote on Windows, I think my next move will be to try to make a build option that can also do locale name renaming on Unix, so that I have something that I could test myself and push for the next release of PostgreSQL which will be in October.

One open question is whether we should ship a translation file ourselves. I have heard two opinions: Tom Lane proposed in this thread that there should be no file initially, we let the user figure out what to put in there. Magnus Hagander proposed at the pgconf.dev conference last week that we should ideally ship a complete translation file and maintain it over time, and it should be installed not in pgdata but rather in the install directory. I am not personally able or willing to maintain such a file, I'm only offering to supply the C code to read it and do what it says, but perhaps a group such as the EDB Installer maintainer group, or at least someone with a vested interest in PostgreSQL on Windows, might like to own that job.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kyotaro Horiguchi 2024-06-25 00:22:48 Re: error "can only drop stats once" brings down database
Previous Message PG Bug reporting form 2024-06-24 18:16:38 BUG #18522: Wrong results with Merge Right Anti Join, inconsistent with Merge Anti Join