Re: Windows buildfarm animals are still not happy with abbreviated keys patch - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Windows buildfarm animals are still not happy with abbreviated keys patch
Date
Msg-id CA+TgmobTKp5KmK2guXY5f63+xiLJr16iYnsxG-ipSE3p3+kckA@mail.gmail.com
Whole thread Raw
In response to Re: Windows buildfarm animals are still not happy with abbreviated keys patch  (Peter Geoghegan <pg@heroku.com>)
Responses Re: Windows buildfarm animals are still not happy with abbreviated keys patch
List pgsql-hackers
On Thu, Jan 22, 2015 at 1:00 PM, Peter Geoghegan <pg@heroku.com> wrote:
> On Thu, Jan 22, 2015 at 9:55 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Stay tuned for more exciting dispatches from the department of abbreviated keys!
>
> I certainly suspected that we'd have problems with Windows, but
> nothing this bad.

This isn't really Windows-specific.  The root of the problem is that
when LC_COLLATE=C you were trying to use strxfrm() for the abbreviated
key even though memcmp() is the authoritative comparator in that case.
Exactly which platforms happened to blow up as a result of that is
kind of beside the point.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: pg_upgrade and rsync
Next
From: Jim Nasby
Date:
Subject: Re: pg_upgrade and rsync