Re: Why do we let CREATE DATABASE reassign encoding?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Why do we let CREATE DATABASE reassign encoding?
Date: 2009-04-23 19:06:15
Message-ID: 49F0BC27.2020605@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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; AFAICS that is an
> oversight and not intentional.
>

Ok, then I agree that we need a big warning on that in the docs.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bill Moran 2009-04-23 19:07:22 Re: Why do we let CREATE DATABASE reassign encoding?
Previous Message Tom Lane 2009-04-23 19:00:25 Re: Why do we let CREATE DATABASE reassign encoding?