pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ow <oneway_111@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: New database: SQL_ASCII vs UTF-8 trade-offs
Date: Tue, 7 Mar 2006 08:22:16 -0800 (PST)
Message-ID: <20060307162216.57963.qmail@web53907.mail.yahoo.com> (raw)
In-Reply-To: <19681.1141747646@sss.pgh.pa.us>


--- Tom Lane <tgl@sss.pgh.pa.us> wrote:

> It seems risky, but you could probably get away with that as long
> as the database locale (LC_COLLATE/LC_CTYPE) is "C" ... which is really
> the only one that's safe with SQL_ASCII anyway ...

I actually created the cluster with:
test1:~# /usr/lib/postgresql/8.1/bin/initdb --pwprompt -D
/var/lib/postgresql/8.1/main/ --lc-collate=POSIX


test1:~# locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Not sure if it's going to make a difference. Thanks








__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



view thread (6+ messages)

Message-ID: <20060307162216.57963.qmail@web53907.mail.yahoo.com>
Permalink:  ../20060307162216.57963.qmail@web53907.mail.yahoo.com/
Also on:    postgresql.org/message-id/20060307162216.57963.qmail@web53907.mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oneway_111@yahoo.com
  Subject: Re: New database: SQL_ASCII vs UTF-8 trade-offs
  In-Reply-To: <20060307162216.57963.qmail@web53907.mail.yahoo.com>
  References: <19681.1141747646@sss.pgh.pa.us> <20060307162216.57963.qmail@web53907.mail.yahoo.com>

* 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