Re: RFC: New log_destination 'fifo'

From: Magnus Hagander <magnus(at)hagander(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-07 21:28:34
Message-ID: CABUevExfQQxk4GeoAVsUMsXdbaMk-kZiKXEdqhC8WedpBnrXnQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 7, 2012 at 9:55 PM, Joshua D. Drake <jd(at)commandprompt(dot)com> wrote:
>
> Hello,
>
> 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. This
> would allow a person to tail the fifo to receive the outputs of the log as
> it happens but would not take up precious IO or space from the disk. I
> personally have found this valuable when diagnosing immediate unexpected
> problems. It would also work on Windows.

This is something that has been discussed before a couple of times.
I've even gotten started on an implementation at one point, though in
fairness I didn't get much past "git branch".

I definitely think it would be a useful thing.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-07 22:04:48 Re: Proof of concept: auto updatable views [Review of Patch]
Previous Message Jeff Janes 2012-11-07 21:06:01 Re: RFC: Timing Events