Re: New database: SQL_ASCII vs UTF-8 trade-offs
| От | ow |
|---|---|
| Тема | Re: New database: SQL_ASCII vs UTF-8 trade-offs |
| Дата | |
| Msg-id | 20060307162216.57963.qmail@web53907.mail.yahoo.com обсуждение |
| Ответ на | Re: New database: SQL_ASCII vs UTF-8 trade-offs (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | 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 по дате отправления: