Adding params to postmaster.opts file

Поиск
Список
Период
Сортировка
Искать

Adding params to postmaster.opts file

От:
Darrel Davis <darrel@davisware.net>
Дата:
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

От:
ChristophSchmidt <cs.hilzingen@swol.de>
Дата:

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
> ==========================================
FAQ