Thread: Adding params to postmaster.opts file

Adding params to postmaster.opts file

From
Darrel Davis
Date:
I am trying to add a '-i' option to the $PGDATA/postmaster.opts
file so that I can connect to the engine via TCP/IP.  If I
edit the file as user postgres it rewrites it upon startup.

Is there an app I need to use to add the parm?  I use pg_ctl
to start/stop postmaster.

Thanks,
-darrel
--
==========================================
Darrel Davis      darreld@audiosonix.com
AudioSonix, Inc      darrel@davisware.net
==========================================

Re: Adding params to postmaster.opts file

From
ChristophSchmidt
Date:
in my startup-file there is a line  :
 su - postgres -c "/sbin/startproc -l $LOGFILE $H -i -o -F -D$DATADIR"
where you can see the -i option set.


> I am trying to add a '-i' option to the $PGDATA/postmaster.opts
> file so that I can connect to the engine via TCP/IP.  If I
> edit the file as user postgres it rewrites it upon startup.
>
> Is there an app I need to use to add the parm?  I use pg_ctl
> to start/stop postmaster.
>
> Thanks,
> -darrel
> --
> ==========================================
> Darrel Davis      darreld@audiosonix.com
> AudioSonix, Inc      darrel@davisware.net
> ==========================================