cat /dev/null > name_of_log_to_truncate
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of gabor
Sent: Thursday, December 08, 2005 6:21 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] is it possible to delete the psql log while p
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?
thanks,
gabor
--
That's life for you,
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 postres is running?
or do i have to stop postgres first, and only delete the logfile after that?
thanks,
gabor
---(end