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

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: gabor <gabor(at)nekomancer(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: is it possible to delete the psql log while psql is
Date: 2005-12-08 16:19:08
Message-ID: Pine.GSO.4.63.0512081918450.13553@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2005-12-08 17:27:58 Re: Multi-Master-Solution (PGCluster)?
Previous Message Mike Rylander 2005-12-08 16:09:51 Re: fts, compond words?