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

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

pgsql-hackers by date

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

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