Am Freitag, 14. Mai 2004 17:35 schrieb Andrew Hammond:
> Please find attached a patch to integrate rotatelogs into pg_ctl. I've
> noticed a couple of questions about how to do this and it seems easier
> (and more elegant) to solve it in code rather than in documentation. The
> patch is pretty simple and I've made it reasonably self documenting. It
> test for apache rotatelogs only when unless it is specifically used.
> This code only adds functionality and causes no changes to current usage.
How is this better than just piping the output of pg_ctl into rotatelogs?