Re: Shouldn't default multibyte encoding come from template database?

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
Subject: Re: Shouldn't default multibyte encoding come from template database?
Date: 2000-11-14 07:23:43
Message-ID: 1837.974186623@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2000-11-14 07:26:52 Re: SearchSysCacheTuple(Copy)
Previous Message The Hermit Hacker 2000-11-14 07:12:19 Re: FW: Returned mail: see transcript for details