Re: Default Locale in initdb

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Paul Ramsey <pramsey(at)refractions(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Default Locale in initdb
Date: 2004-06-03 01:25:04
Message-ID: 40BE7DF0.6030309@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> When this new behavior was introduced, and I migrated our databases to
> the new PgSQL version (dump/restore), the locale of all my databases
> were silently changed from C to US_en. This broke one application in a
> very subtle way because of slightly different sort behavior in the
> different locale. Tracking it down was quite tricky.
>
> PgSQL was just a little too helpful in this case.

Seems pretty nasty thing to do. I would so vote for making -E and -W
and --locate required flags to initdb. Oh the amount of time I've spent
with people in IRC..

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-06-03 01:30:02 Re: Default Locale in initdb
Previous Message Bruce Momjian 2004-06-03 00:12:27 Re: Compiling libpq with VisualC