Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group