is it possible to delete the psql log while psql is running?

Поиск
Список
Период
Сортировка
От gabor
Тема is it possible to delete the psql log while psql is running?
Дата
Msg-id 20051208122056.GA11830@core.realtime.sk
обсуждение исходный текст
Ответы Re: is it possible to delete the psql log while psql is  (Tino Wildenhain <tino@wildenhain.de>)
Re: is it possible to delete the psql log while psql is  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
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, said McDunn.  Someone always waiting for someone
who never comes home.  Always someone loving something more than that
thing loves them.  And after awhile you want to destroy whatever
that thing is, so it can't hurt you no more.
                -- R. Bradbury, "The Fog Horn"

В списке pgsql-general по дате отправления:

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: is it possible to delete the psql log while psql is
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: is it possible to delete the psql log while psql is