[pgsql-jp: 24888] Re: PostgreSQL7.2のpostmasterを -S -iオプション付で起動したい
Kouichi Sawada
sawada @ sunmesse.co.jp
2002年 2月 21日 (木) 16:04:43 JST
澤田です。
postgresql.confで
tcpip_socket = trueと設定したら無事接続されました。
ちなみにpostgresql.confではなく、postmaster.optsに
/usr/local/pgsql/bin/postmaster -S -i
としても上手くいきました。
ですが、
http://search.net-newbie.com/pgsql/runtime-config.html
によりお薦めされないようですので、
silent_mode = trueは設定しませんでした。
ご回答頂いた方々、ありがとうございました。
> >
> > $DAEMON というのは pg_ctl の事だと思うのですが、man pg_ctl すると
> >
> > -o "options"
> > Specifies options to be passed directly to postmaster.
> > The parameters are usually surrounded by single- or
> > double quotes to ensure that they are passed
> > through as a group.
> >
> > というのがありますよ? これじゃないですか?
>
> それはそれで正しいとは思いますが、
> いまどきな(?)方法としては postgresql.conf で
>
> tcpip_socket = true
>
> とするほうが楽だと思います。
>
━━━━━━━━━━━━━━━━━━━
澤田 香一 sawada @ sunmesse.co.jp
━━━━━━━━━━━━━━━━━━━
pgsql-jp メーリングリストの案内