Re: pg_upgrade tests vs alter generic changes - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pg_upgrade tests vs alter generic changes
Date
Msg-id 1349063193.3584.29.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: pg_upgrade tests vs alter generic changes  (Andrew Dunstan <andrew@dunslane.net>)
List 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 by date:

Previous
From: john knightley
Date:
Subject: Re: Extending range of to_tsvector et al
Next
From: Dan Scott
Date:
Subject: Re: Extending range of to_tsvector et al