Re: [7.0.2] rotating log files ... - Mailing list pgsql-admin

From Alfred Perlstein
Subject Re: [7.0.2] rotating log files ...
Date
Msg-id 20000828113030.W1209@fw.wintelcom.net
Whole thread Raw
In response to Re: [7.0.2] rotating log files ...  ("Mitch Vincent" <mitch@venux.net>)
List pgsql-admin
* Mitch Vincent <mitch@venux.net> [000828 11:28] wrote:
> Can you move the logfile then touch the original file to create an empty
> one?
>
> *shrug* just an idea :-)

that won't work, the shell has attached the process's stdout/err to
the file, you can even remove the file and the server will still have
an open reference to it and the space won't be reclaimed.

-Alfred

pgsql-admin by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: [7.0.2] rotating log files ...
Next
From: "Mitch Vincent"
Date:
Subject: Re: [7.0.2] rotating log files ...