From: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
---|---|
To: | gabor <gabor(at)nekomancer(dot)net> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: is it possible to delete the psql log while psql is |
Date: | 2005-12-08 15:35:50 |
Message-ID: | 439852D6.2030805@wildenhain.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
gabor schrieb:
> hi,
>
> i'd like to delete the postgresql log file
> (resides in /var/log/pgsql/postgres),
> because it has become too big.
>
> can i simply delete the file while postgresql is running?
>
> or do i have to stop postgresql first, and only delete the logfile after
> that?
echo -n >postgresql.log
delete will have no effect unless the last
process takes hands off the file.
HTH
Tino
From | Date | Subject | |
---|---|---|---|
Next Message | Writer's Digest | 2005-12-08 16:00:00 | Special message brought to you by Writer's Digest |
Previous Message | Cook, Steve | 2005-12-08 15:34:16 | Re: is it possible to delete the psql log while psql is running? |