Re: [HACKERS] Sketch of a Hook into the Logging Collector

2012-12-10 Thread Daniel Farina
On Sat, Dec 8, 2012 at 10:40 AM, Daniel Farina wrote: > Hello all, > > I am approaching this from the angle of increasing power by exposing > the log collector ("syslogger") pipe protocol. I just spotted a better, already-committed patch. Thanks to Hannu for pointing it out: https://commitfest.

Re: [HACKERS] Sketch of a Hook into the Logging Collector

2012-12-08 Thread Daniel Farina
On Sat, Dec 8, 2012 at 10:40 AM, Daniel Farina wrote: > * A contrib, pg_logcollectdup. This contrib lets one forward logs to > a named pipe specified in postgresql.conf. I have revised this part in the attached patch. It's some error handling in a case of user error, and the previous demo scr

[HACKERS] Sketch of a Hook into the Logging Collector

2012-12-08 Thread Daniel Farina
Hello all, I have some needs that seem to support changing Postgres slightly to give user programs a lot more power over how to process logging output that neither the log collector nor the syslog output can well-satisfy as-is. I am approaching this from the angle of increasing power by exposing