Re: pg_upgrade tests vs alter generic changes

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: pg_upgrade tests vs alter generic changes
Дата
Msg-id 1349063193.3584.29.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: pg_upgrade tests vs alter generic changes  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Sat, 2012-09-29 at 17:52 -0400, Andrew Dunstan wrote:
> It turns out that the reason is that we support collations on MSVC but
> not on Mingw. 

The cause for that is that on Windows locale_t is called _locale_t, and
there is a workaround for that in src/include/port/win32.h for the MSVC
build, but with MinGW, the configure test result still says that
locale_t does not exist, so the code is omitted.

This could be fixed either by making the configure test a bit smarter,
or just by sticking a

#define HAVE_LOCALE_T 1

into the aforementioned win32.h.





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

Предыдущее
От: john knightley
Дата:
Сообщение: Re: Extending range of to_tsvector et al
Следующее
От: Dan Scott
Дата:
Сообщение: Re: Extending range of to_tsvector et al