Re: locale - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: locale
Date
Msg-id 20040408.162210.48533966.t-ishii@sra.co.jp
Whole thread Raw
In response to Re: locale  (Dennis Bjorklund <db@zigo.dhs.org>)
Responses Re: locale  (Dennis Bjorklund <db@zigo.dhs.org>)
List pgsql-hackers
> > Are you talking about the sort order? Then there's no problem with
> > encoding itself.
> 
> The tables in template1 in encoding E1 are compied into the new database 
> in encoding E2. Not all encodings are compatable, so you can't even 
> convert from E1 to E2.

In this case you just set your terminal encoding to E1, then SELECT
the table. Point is you do not use set client_encoding or \encoding
command. This will work as long as both E1 and E2 are single byte
encodings.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Honza Pazdziora
Date:
Subject: Re: locale
Next
From: Dennis Bjorklund
Date:
Subject: Re: locale