ITedite

trac.iniのdatabase関連の書式

database = postgres://:@localhost/

例としてあげると

database = postgres://trac:trac@localhost/trac

こんな感じ。
この場合、あらかじめpostgres側でデータベースを作成しておく必要あり。

$ createdb --encoding utf-8 trac

参考:http://yuna.ultimania.org/wiki/pm/Trac%E3%83%A1%E3%83%A2