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