Skip site navigation (1) Skip section navigation (2)

Re: pg_upgrade tests vs alter generic changes

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade tests vs alter generic changes
Date: 2012-10-01 03:46:33
Message-ID: 1349063193.3584.29.camel@vanquo.pezone.net (view raw or flat)
Thread:
Lists: 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.




In response to

pgsql-hackers by date

Next:From: Dan ScottDate: 2012-10-01 03:58:11
Subject: Re: Extending range of to_tsvector et al
Previous:From: john knightleyDate: 2012-10-01 03:45:05
Subject: Re: Extending range of to_tsvector et al

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group