pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: Bruce Momjian <bruce@momjian.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tim Uckun <timuckun@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
Date: Wed, 01 Jun 2011 18:40:21 +0300
Message-ID: <1306942821.2279.0.camel@vanquo.pezone.net> (raw)
In-Reply-To: <201105241959.p4OJxxL05180@momjian.us>
References: <201105241959.p4OJxxL05180@momjian.us>

On tis, 2011-05-24 at 15:59 -0400, Bruce Momjian wrote:
> > I think you misread what I wrote, or I misexplained it, but never
> > mind.  Matching locale names case-insensitively sounds reasonable to
> > me, unless someone has reason to believe it will blow up.
> 
> OK, that's what I needed to hear.  I have applied the attached patch,
> but only to 9.1 because  of the risk of breakage. (This was only the
> first bug report of this, and we aren't 100% certain about the case
> issue.)

On FreeBSD, locale names appear to be case-sensitive:

$ LC_ALL=en_US.UTF-8 locale charmap
UTF-8

$ LC_ALL=en_US.utf-8 locale charmap
US-ASCII

$ LC_ALL=de_DE.UTF-8 date          
Mi  1 Jun 2011 18:22:24 EEST

$ LC_ALL=de_DE.utf-8 date
Wed Jun  1 18:22:47 EEST 2011

So I think that change needs to be reverted.




view thread (23+ messages)  latest in thread

Message-ID: <1306942821.2279.0.camel@vanquo.pezone.net>
Permalink:  ../1306942821.2279.0.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1306942821.2279.0.camel@vanquo.pezone.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: peter_e@gmx.net, bruce@momjian.us, robertmhaas@gmail.com, timuckun@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
  In-Reply-To: <1306942821.2279.0.camel@vanquo.pezone.net>
  References: <201105241959.p4OJxxL05180@momjian.us> <1306942821.2279.0.camel@vanquo.pezone.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox