Re: WIN32 pg_import_system_collations

From: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: WIN32 pg_import_system_collations
Date: 2021-12-14 20:13:52
Message-ID: CAC+AXB2Mvdn=2d0Vfgz6_SGmD=yTUEqdKRJ01BVfDAnZhW+CuA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 13, 2021 at 9:54 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:

>
> I haven't tested yet but +1 for the feature. I guess the API didn't
> exist at the time collation support was added.
>
> Good to hear.

> This conversion makes sense, to keep the user experience the same
> across platforms. Nitpick on the comment: why ANSI? I think we can
> call "en_NZ" a POSIX locale identifier[1], and I think we can call
> "en-NZ" a BCP 47 language tag.
>
> POSIX also works for me.

> When would the full set of locales not be installed on a Windows
> system, and why does this need Visual Studio? Wondering if this test
> will work with some of the frankenstein/cross toolchains tool chains
> (not objecting if it doesn't and could be skipped, just trying to
> understand the comment).
>
> What I meant to say is that to run the test, you need a database that has
successfully run pg_import_system_collations. This would be also possible
in Mingw for _WIN32_WINNT> = 0x0600, but the current value in
src\include\port\win32.h is _WIN32_WINNT = 0x0501 when compiling with
Mingw.

> Regards,

Juan José Santamaría Flecha

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bossart, Nathan 2021-12-14 20:23:57 Re: O(n) tasks cause lengthy startups and checkpoints
Previous Message Bossart, Nathan 2021-12-14 20:13:38 Re: O(n) tasks cause lengthy startups and checkpoints