Skip site navigation (1) Skip section navigation (2)

Re: Creating Log file - run in background.

From: Sterling <smullett(at)omeninc(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chris <csmith(at)squiz(dot)net>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Creating Log file - run in background.
Date: 2000-12-14 08:17:39
Message-ID: (view raw or whole thread)
Lists: pgsql-novice

Ok. So the new command should look like this.

nohup /usr/local/pgsql/bin/postmaster -D  > >/usr/local/pgsql/data </dev/null
>>/usr/local/pgsql/data/server.log 2>>1 &

What are the > > 's for? Are they acting as ( ) 's like in perl or some other

If so should they match? I'm getting lost in the > > and can't figure out if the >
> is actually in the command or part of the wrapping for my window terminal (it
stays when I resize the window so...)  or from my email client when it copies the
original post.

Thanks for all your help and replies. I just need to get up to speed on what
you're telling me. 8^)

Tom Lane wrote:

> >> 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

In response to


pgsql-novice by date

Next:From: Guy CorbazDate: 2000-12-14 08:34:37
Subject: Postgresql backups
Previous:From: pgsql-noviceDate: 2000-12-14 04:52:36

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group