Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux