Re: Starting postmaster in logging mode - Mailing list pgsql-general

From Tom Lane
Subject Re: Starting postmaster in logging mode
Date
Msg-id 20271.981740216@sss.pgh.pa.us
Whole thread Raw
In response to Starting postmaster in logging mode  (Walt Weaver <wweaver@rightnow.com>)
List pgsql-general
Walt Weaver <wweaver@rightnow.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

pgsql-general by date:

Previous
From: Walt Weaver
Date:
Subject: Listing tables - why doesn't it work?
Next
From: Stephan Szabo
Date:
Subject: Re: SQL function problem in 7.1?