Search Postgresql Archives

Re: is it possible to delete the psql log while psql is

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

use "cp /dev/null pqsql.log" to truncate the logfile "in place" and free some space.

re, thies

Am 08.12.2005 um 23:26 schrieb Ed L.:

On Thursday December 8 2005 9:19 am, Oleg Bartunov wrote:
I'd do
echo > pgql.log

That won't free any space from an open file.  You have to stop
postgresql first in order to close the file, or use log file
rotation and wait until it rotates out to a closed state.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux