Re: Why do we let CREATE DATABASE reassign encoding? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Why do we let CREATE DATABASE reassign encoding?
Date
Msg-id 49F0BC27.2020605@dunslane.net
Whole thread Raw
In response to Re: Why do we let CREATE DATABASE reassign encoding?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why do we let CREATE DATABASE reassign encoding?
Next
From: Bill Moran
Date:
Subject: Re: Why do we let CREATE DATABASE reassign encoding?