Re: Starting postmaster in logging mode

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Walt Weaver <wweaver(at)rightnow(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Starting postmaster in logging mode
Date: 2001-02-09 17:36:56
Message-ID: 20271.981740216@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Walt Weaver <wweaver(at)rightnow(dot)com> writes:
> Could someone give me an example of how they start up the postmaster in
> logging mode?

nohup postmaster ...switches... >>/path/to/server.log 2>&1 &

where (as you knew) the switches shouldn't contain -S.

Depending on your platform, "</dev/null" might also be needed to
be completely sure the thing is disassociated from your tty and
won't get killed when the parent shell exits.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2001-02-09 17:42:59 Re: SQL function problem in 7.1?
Previous Message Jose solo en casita 2001-02-09 17:29:35 Re: 4GL on Postgresql ?