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

Re: Why do we let CREATE DATABASE reassign encoding?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, Andrew Dunstan <andrew(at)dunslane(dot)net>
Subject: Re: Why do we let CREATE DATABASE reassign encoding?
Date: 2009-04-23 22:59:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> 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.

What's different now is that 8.4 has already established the principle
that you have to clone template0 if you want to change the locale of a
database.  I think this is a good time to establish the same principle
for encodings.  (Or in other words, if we don't fix it now, when will
be a better time?)

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Zdenek KotalaDate: 2009-04-24 04:48:19
Subject: Re: PL compilations ignores LDFLAGS
Previous:From: Eric B. RidgeDate: 2009-04-23 21:41:27
Subject: Re: 8.4b1 regression?

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