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]

 



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


[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