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

a "postgres.log"

From: Chris Gamache <cgg007(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: darren(at)crystalballinc(dot)com
Subject: a "postgres.log"
Date: 2002-06-26 18:15:33
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general

server:~# su postgres -c "/usr/local/bin/pg_ctl -o "-i" 
-D /usr/local/pgsql/data -l /usr/local/pgsql/data/postgres.log start
1>/dev/null 2>&1"


server:~# su postgres -c "nohup /usr/local/pgsql/bin/pg_ctl -o "-i" 
-D /usr/local/pgsql/data start $@ >/usr/local/pgsql/data/postgres.log 2>&1

What's the difference? 

I can't seem to get postmaster to release the filehandle when I want to archive
the postgres.log when I use method #2... I've tried sending it a SIGHUP, but it
just won't give it up. Would method #1 give it up upon receiving a sighup, or
re-running the pg_ctl with "restart" instead of "start" ... 

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

pgsql-general by date

Next:From: Doug FieldsDate: 2002-06-26 18:20:41
Subject: Re: Shared Memory Sizing
Previous:From: Bruce MomjianDate: 2002-06-26 17:54:47
Subject: Re: Shared Memory Sizing

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