Re: RFC: New log_destination 'fifo'

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RFC: New log_destination 'fifo'
Date: 2012-11-08 06:22:15
Message-ID: 1352355735.2839.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2012-11-07 at 12:55 -0800, Joshua D. Drake wrote:
> So it is possible to do this in other ways but I thought it might be
> interesting to allow people to define fifo or pipe as a
> log_desination.

You could do this with a logging hook as a plugin, so you don't have to
make the effort to get this integrated into the main line (yet).

One problem to consider with fifos and pipes is what happens when the
receiving side is down or not keeping up. You don't want the logging to
become a potential source of failures.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-08 06:36:54 Re: commit 1eb1dde049ccfffc42c80c2 broke make -j2
Previous Message Chen Huajun 2012-11-08 05:59:58 Fix errcontext() function