Re: RFC: New log_destination 'fifo' - Mailing list pgsql-hackers

From David Fetter
Subject Re: RFC: New log_destination 'fifo'
Date
Msg-id 20121107224641.GD18573@fetter.org
Whole thread Raw
In response to RFC: New log_destination 'fifo'  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: RFC: New log_destination 'fifo'  ("Joshua D. Drake" <jd@commandprompt.com>)
List 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@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.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



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: Proof of concept: auto updatable views [Review of Patch]
Next
From: Tom Lane
Date:
Subject: Re: Proof of concept: auto updatable views [Review of Patch]