Re: OpenBSD startup - logfile?

From: Frank Bax <fbax(at)execulink(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: OpenBSD startup - logfile?
Date: 2000-10-17 16:04:56
Message-ID: 3.0.6.32.20001017120456.01e52510@execulink.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)execulink(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2000-10-17 16:05:10 Re: (redefinition) alter table, add foreign key constraint
Previous Message Tom Lane 2000-10-17 15:58:50 Re: C function and NULL result