Re: OpenBSD startup - logfile? - Mailing list pgsql-general

From Frank Bax
Subject Re: OpenBSD startup - logfile?
Date
Msg-id 3.0.6.32.20001017120456.01e52510@execulink.com
Whole thread Raw
In response to Re: OpenBSD startup - logfile?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: OpenBSD startup - logfile?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Thanks.  When I remove -S then the command never completes?

How do I redirect stderr?

At 11:49 AM 10/17/00 -0400, you wrote:
>Frank Bax <fbax@execulink.com> writes:
>> I've got the following line in /etc/rc.local on my OpenBSD 2.6 system:
>> /usr/local/bin/pgwrap -o /var/pgsql/log postmaster -i -S -o -F >>
>> /var/pgsql/postmaster.log
>
>> Postgres starts ok, and /var/pgsql/postmaster.log gets created, but it
>> stays at size=0.
>
>Remove -S switch.
>
>Might be a good idea to redirect postmaster's stderr into the logfile,
>as well as stdout.
>
>            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: C function and NULL result
Next
From: Stephan Szabo
Date:
Subject: Re: (redefinition) alter table, add foreign key constraint