Re: RFC: New log_destination 'fifo'

From: David Fetter <david(at)fetter(dot)org>
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 22:46:41
Message-ID: 20121107224641.GD18573@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 07, 2012 at 12:55:03PM -0800, Joshua D. Drake 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.

I've often wanted this feature, and it's a pleasant surprise (at least
to me) that Windows has the underlying capability.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-07 22:55:32 Re: Proof of concept: auto updatable views [Review of Patch]
Previous Message David Fetter 2012-11-07 22:44:32 Re: Proof of concept: auto updatable views [Review of Patch]