Re: Why do we let CREATE DATABASE reassign encoding?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: Why do we let CREATE DATABASE reassign encoding?
Date: 2009-04-23 21:40:03
Message-ID: 200904240040.04760.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thursday 23 April 2009 22:00:25 Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> > So the following sequence woiuld be illegal:
> >
> > initdb -E latin1
> > createdb -E utf8
>
> Yes, that's rather the point. Note that it already is illegal
> unless you happen to have selected C locale;

AFAIR, the only reason that we haven't disallowed this sort of stuff years and
years ago is that people use it; the Japanese in particular. I don't see what
is different now.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Eric B. Ridge 2009-04-23 21:41:27 Re: 8.4b1 regression?
Previous Message Peter Eisentraut 2009-04-23 21:33:29 Re: PL compilations ignores LDFLAGS