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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group