pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jamie Lawrence <jal@jal.org>
To: pgsql-sql@postgresql.org
Subject: Different encodings in different DBs in same cluster
Date: Thu, 21 Jul 2005 14:32:24 -0400
Message-ID: <20050721183224.GA19811@clueinc.net> (raw)


Hi All, 

I was going through the docs for Postgres 8 for info on setting the
character set (to UTF8). In the docs here:

http://www.postgresql.org/docs/8.0/interactive/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED

I see:

   Since these locale settings are frozen by initdb, the apparent
   flexibility to use different encodings in different databases of a
   cluster is more theoretical than real. It is likely that these
   mechanisms will be revisited in future versions of PostgreSQL.
  
   One way to use multiple encodings safely is to set the locale
   to C or POSIX during initdb, thus disabling any real locale
   awareness. 

Does anyone know what "more theoretical than real" mean in this context?
If I set the locale to C, is it going to work correctly with UTF8
encoded data?

Thanks,

-j

-- 
Jamie Lawrence                                        jal@jal.org
It's strange to hear people like Gordon Liddy talking about morality. 
He hasn't been out of jail all that long.
   - Ben Bradlee




view thread (2+ messages)  latest in thread

Message-ID: <20050721183224.GA19811@clueinc.net>
Permalink:  ../20050721183224.GA19811@clueinc.net/
Also on:    postgresql.org/message-id/20050721183224.GA19811@clueinc.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jal@jal.org
  Subject: Re: Different encodings in different DBs in same cluster
  In-Reply-To: <20050721183224.GA19811@clueinc.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox