Re: is it possible to delete the psql log while psql is - Mailing list pgsql-general

From Oleg Bartunov
Subject Re: is it possible to delete the psql log while psql is
Date
Msg-id Pine.GSO.4.63.0512081918450.13553@ra.sai.msu.su
Whole thread Raw
In response to is it possible to delete the psql log while psql is running?  (gabor <gabor@nekomancer.net>)
Responses Re: is it possible to delete the psql log while psql is
List pgsql-general
I'd do
echo > pgql.log

   Oleg
On Thu, 8 Dec 2005, gabor wrote:

>
> 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
>
>
>
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

pgsql-general by date:

Previous
From: Mike Rylander
Date:
Subject: Re: fts, compond words?
Next
From: Scott Marlowe
Date:
Subject: Re: Multi-Master-Solution (PGCluster)?