[pgsql-jp: 40864] pg_hba.conf での flat password file サポートについて

Seiichirou Hiraoka flathill @ netspring.co.jp
2011年 7月 21日 (木) 17:03:42 JST


平岡です。

PostgreSQL 9.0.4 にて、pg_hba.conf で flat password file を利用した
認証をしようと考えておりますが、この機能は廃止されたのでしょうか。

付属の HISTORY 中に、

     * Remove the use of flat files for system table bootstrapping (Tom
       Lane, Alvaro Herrera)
       This improves performance when using many roles or databases, and
       eliminates some possible failure conditions.

とありますし、ソースコード中にも該当箇所が無いようなので、御存知の
方がいらっしゃいましたら御教授下さい。

試しに pg_hba.conf に

host    database        all             0.0.0.0/0               password passwordfile

のように書いても起動時に

Jul 21 16:41:00 db postgres[1096]: [2-2] CONTEXT:  line 89 of configuration file "/usr/local/pgsql/data/pg_hba.conf"

のように怒られて起動しないようです。

以上、よろしくお願い致します。

- Seiichirou Hiraoka


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