Re: SimpleTee flush - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SimpleTee flush
Date
Msg-id 22439.1440949874@sss.pgh.pa.us
Whole thread Raw
In response to Re: SimpleTee flush  (Kevin Grittner <kgrittn@ymail.com>)
List pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Just out of curiosity --- what's the rationale for flushing after
>> every line, rather than once at the end of the loop?

> Isn't the loop over file handles written to?

Oh... I just automatically read it as looping over some data,
not printing the same data to multiple filehandles.  That's kind of
odd ... but yeah, you would have to do it like that.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: SimpleTee flush
Next
From: Jeff Janes
Date:
Subject: Re: Potential GIN vacuum bug