Re: Creating Log file - run in background.

From: Chris <csmith(at)squiz(dot)net>
To: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Creating Log file - run in background.
Date: 2000-12-14 01:15:59
Message-ID: 4.3.2.7.2.20001214121339.00b29b30@203.25.173.1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Oops, thanks. I misread it.

after all that, it should be
nohup /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data
</dev/null >> /usr/local/pgsql/logs/server.log 2>>1 &

where logs = your pgsql log directory :)

> >> Should the command look like this than:
> >> nohup /usr/local/pgsql/bin/postmaster -D
> /usr/local/pgsql/data/server.log &
>
> > That should work, yep.
>
>Uh, nope.
>
>That will try to use /usr/local/pgsql/data/server.log as a directory.
>
>Your original advice was better.
>
> regards, tom lane

------------------------
Chris Smith
http://www.squiz.net

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Aarmel 2000-12-14 02:11:37 Dumping Large Object
Previous Message Tom Lane 2000-12-14 00:59:29 Re: Creating Log file - run in background.