Re: more contrib: log rotator
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Sullivan <andrew@libertyrms.info>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2003-04-05T00:03:03Z
Lists: pgsql-hackers
Attachments
- pg_logpipe.c (text/plain)
Tom Lane writes: > AFAICS, the only practical way to do this is to have a single process > collecting the stdout/stderr from the postmaster and all its children. I think not. It's a little tricky handling it directly in the child processes, but it's been done before. > If someone can offer a better alternative than Andrew's, great, let's > see it. How about the attached one, which I floated a while ago but which didn't generate much interest. -- Peter Eisentraut peter_e@gmx.net