Perlを中心とした技術系の話などをつらつら

2003年11月07日

--no-locale

Postgresを使っていると日本語でのソートがおかしくなる場合があります。
initdbの際に--no-localeを付け忘れるとこの現象が起きるそうです。
日本語を使うときにPostgresのDBの初期化はこんな感じです。

$ initdb --no-locale --encoding=EUC_JP

Technorati TAGTechnorati TAG

Posted by horiuchi at 2003年11月07日 13:12

Continuing the discussion...

このエントリーのトラックバックURL:
http://hori-uchi.com/mt/trackback/8

Comments

Post a comment




Remember personal info?