| From: | Frank Bax <fbax(at)execulink(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: OpenBSD startup - logfile? |
| Date: | 2000-10-17 17:46:05 |
| Message-ID: | 3.0.6.32.20001017134605.0259a350@execulink.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Thanks! 2>&1 was already used in same script. pgwrap is an OpenBSD thing
that sets pg environment for root user (I know a *little* bit about my
system).
Frank
At 12:49 PM 10/17/00 -0400, you wrote:
>Frank Bax <fbax(at)execulink(dot)com> writes:
>> Thanks. When I remove -S then the command never completes?
>
>Oh, OK. It wasn't clear what context you were starting the postmaster
>in. Evidently it's from a script that has other things to do. You
>need to put an ampersand "&" at the end of the command line to fork off
>a separate process for the postmaster. I had mistakenly assumed your
>"pgwrap" thingy was doing something like that.
>
>> How do I redirect stderr?
>
>Depends what shell you're using, but on sh-derived shells adding
> 2>&1
>after the >>file phrase will put stderr into the same file as stdout.
>
> regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jarmo Paavilainen | 2000-10-17 18:21:09 | 7.1 devel and initdb core dumps |
| Previous Message | Tom Lane | 2000-10-17 16:49:47 | Re: OpenBSD startup - logfile? |