Re: New database: SQL_ASCII vs UTF-8 trade-offs - Mailing list pgsql-admin

From ow
Subject Re: New database: SQL_ASCII vs UTF-8 trade-offs
Date
Msg-id 20060307162216.57963.qmail@web53907.mail.yahoo.com
Whole thread Raw
In response to Re: New database: SQL_ASCII vs UTF-8 trade-offs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
--- 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

pgsql-admin by date:

Previous
From: Fabrice.Sznajderman@devoteam.com
Date:
Subject: Re: VACUUM Error?
Next
From: Louis Gonzales
Date:
Subject: postgresql-R