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

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: is it possible to delete the psql log while psql is
Дата
Msg-id 1134050969.4779.263.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: is it possible to delete the psql log while psql is  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
[snip]
> Note: on Linux I've had success with simply truncating the file using:
>
> : > [filename]
>
> This does free up the space used straightaway. Depending on the mode
> the file was opened with it may also reset the position the postmaster
> writes at.

Interesting hint, I'll try it next time I'll need such effect, although
I won't do it with any production data base ;-)

Thanks Martijn !

Cheers,
Csaba.


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: is it possible to delete the psql log while psql is
Следующее
От: gabor
Дата:
Сообщение: is it possible to delete the psql log while psql is running?