pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Bruce Momjian <bruce@momjian.us>
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: Mon, 23 May 2011 23:10:13 -0400
Message-ID: <BANLkTimfxAY+HSu8Wz_GBDQBi6Makyt21w@mail.gmail.com> (raw)
In-Reply-To: <201105231857.p4NIvRh13495@momjian.us>
References: <BANLkTi=PgvZ==Yj=Sf8Yp0HT=ygn75_-sg@mail.gmail.com>
	<201105231857.p4NIvRh13495@momjian.us>

On Mon, May 23, 2011 at 2:57 PM, Bruce Momjian <bruce@momjian.us> wrote:
> Robert Haas wrote:
>> On Mon, May 23, 2011 at 8:26 AM, Bruce Momjian <bruce@momjian.us> wrote:
>> > Sorry, I was unclear. ?The question is whether the case of _name_ of the
>> > locale is significant, meaning can you have two locale names that differ
>> > only by case and behave differently?
>>
>> That would seem surprising to me, but I really have no idea.
>>
>> There's the other direction, too: two locales that vary by something
>> more than case, but still have identical behavior.  Maybe we just
>> decide not to worry about that, but then why worry about this?
>
> Well, if we remove the check then people could easily get broken
> upgrades by upgrading to a server with a different locale.  A Google
> search seems to indicate the locale names are case-sensitive so I am
> thinking the problem is that the user didn't have exact locales, and
> needs that to use pg_upgrade.

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.

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



view thread (23+ messages)  latest in thread

Message-ID: <BANLkTimfxAY+HSu8Wz_GBDQBi6Makyt21w@mail.gmail.com>
Permalink:  ../BANLkTimfxAY+HSu8Wz_GBDQBi6Makyt21w@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTimfxAY+HSu8Wz_GBDQBi6Makyt21w@mail.gmail.com

 · 

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: robertmhaas@gmail.com, bruce@momjian.us, timuckun@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [BUGS] BUG #6034: pg_upgrade fails when it should not.
  In-Reply-To: <BANLkTimfxAY+HSu8Wz_GBDQBi6Makyt21w@mail.gmail.com>
  References: <BANLkTi=PgvZ==Yj=Sf8Yp0HT=ygn75_-sg@mail.gmail.com> <201105231857.p4NIvRh13495@momjian.us> <BANLkTimfxAY+HSu8Wz_GBDQBi6Makyt21w@mail.gmail.com>

* 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