Re: pg_locale compilation error with Visual Studio 2017

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_locale compilation error with Visual Studio 2017
Дата
Msg-id 23073.1526049547@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_locale compilation error with Visual Studio 2017  (Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>)
Ответы Re: pg_locale compilation error with Visual Studio 2017  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> writes:
> I found the same error was raised by someone in pgsql-general lists but
> don't see the submitted patch was committed. Here is the discussion link
> https://www.postgresql.org/message-id/CAL5LfdQdxt9u1W4oJmELybVBJE3X4rtNrNp62NNFw9n%3DXd-wTQ%40mail.gmail.com

Yeah, that patch was rejected as unmaintainable, and it still is.
Somebody needs to do some research in Microsoft's docs and find out
what is the MS-approved way of getting the locale name now.

In the other thread, Munro wondered if ResolveLocaleName() would do
the trick, but AFAICS nobody has tried it.

Another idea would be to replace the whole mess with a lookup table,
although how to fill the table or maintain it in future would be
problematic too.

            regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] Surjective functional indexes
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [HACKERS] Surjective functional indexes