[pgsql-jp: 35929] EncodingがEUC_JPにならない

WataruIkeda wataru_ike @ yahoo.co.jp
2005年 9月 3日 (土) 22:26:03 JST


池田と申します。
ソースから構築した postgresql-7.4.8 の Encoding が SQL_ASCII となってし
まいます。
./configure 時に --enable-multibyte=EUC_JP も指定しましたが、最終的に
データベースを作成してみると Encoding が EUC_JP になりません。
どの辺が原因でしょうか。お時間が許すならご支援頂けると幸いです。

環境は、VineLinux3.1 です。


以下、initdb 時の概要になります。

$ initdb --encoding=EUC_JP
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.

The database cluster will be initialized with locale ja_JP.eucJP.

fixing permissions on existing directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ok
setting privileges on built-in objects... ok
creating information schema... ok
vacuuming database template1... ok
copying template1 to template0... ok

Success. You can now start the database server using:

    /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
or
    /usr/local/pgsql/bin/pg_ctl -D /usr/local/pgsql/data -l logfile start

$ psql -l

        List of databases
   Name    |  Owner   | Encoding
-----------+----------+-----------
 template0 | postgres | SQL_ASCII
 template1 | postgres | SQL_ASCII
(2 rows)

---
Wataru Ikeda
mailto:wataru_ike @ yahoo.co.jp



pgsql-jp メーリングリストの案内