Re: Shouldn't default multibyte encoding come from template database? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Shouldn't default multibyte encoding come from template database?
Date
Msg-id 1837.974186623@sss.pgh.pa.us
Whole thread Raw
In response to Re: Shouldn't default multibyte encoding come from template database?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> How so?
> Or does GetTemplateEncoding() not get the template encoding?

GetTemplateEncoding gets the current DB's encoding.  I think that
may have been because of a hack replacing a kluge ;-) ... but that's
how it works now.

Assuming that it did once produce template1's encoding, that would
seem to be further evidence in favor of my proposal to copy the
source (template) database's encoding.
        regards, tom lane


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: FW: Returned mail: see transcript for details
Next
From: Hiroshi Inoue
Date:
Subject: Re: SearchSysCacheTuple(Copy)