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

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607
Дата
Msg-id CA+hUKGJasTBQ1THqDeeVdeRSFao3+T1LGnwJfqmT4sR-WmTebQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [EXTERNAL] Re: Windows Application Issues | PostgreSQL | REF # 48475607
Список pgsql-bugs
On Mon, Jul 22, 2024 at 1:28 AM Andrew Dunstan <andrew@dunslane.net> wrote:
> change
>
>      if ($^O eq 'MSWin32')
>
> to
>
>      if ($windows_os)

Done.

> Also your use of "is()" is unidiomatic. The expected value should come
> after the received value, not before. While your use won't change the
> success or failure of the result, the message on failure will be at best
> confusing. (I ran into this the other day, so it's fresh in my memory).
> See Test::More documentation.

Fixed.

> Using all upper case for variables is not our usual perl style (or
> anybody else's that I am aware of). Mostly we just use lower case with
> underscores. If you use the "constant" module upper case letters are
> usually used, but then the things defined are bare words, and come with
> some caveats, and I don't think you want to use it here.

Fixed.

> The substance of the test looks good.

Thanks for looking!

One new-to-me fact from the -general mailing list this morning[1] is
that the EDB installer is explicitly feeding these unstable locale
names into the world's database clusters, so that's something that's
beyond the power of us upstream PostgreSQL hackers to fix even if we
pulled the trigger on the initdb BCP47-by-default patch[2].  Something
for someone at EDB to look into?

[1]
https://www.postgresql.org/message-id/flat/CA%2BhUKGJA4pGEeZtfUUEuQmNNO7x16wZ%2BRWOeXP%2Btq3Hf4iu8oQ%40mail.gmail.com#6426ff9fd44fbcd9a7f343a3f94ae364
[2] https://www.postgresql.org/message-id/flat/CA+hUKGJ=XThErgAQRoqfCy1bKPxXVuF0=2zDbB+SxDs59pv7Fw@mail.gmail.com

Вложения

В списке pgsql-bugs по дате отправления: