Re: SimpleTee flush - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SimpleTee flush
Date
Msg-id 21683.1440948487@sss.pgh.pa.us
Whole thread Raw
In response to SimpleTee flush  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: SimpleTee flush
List pgsql-hackers
Kevin Grittner <kgrittn@ymail.com> writes:
> I find the TestLib.pm framework to be more friendly with the
> attached tweak to SimpleTee.pm.  It's not a big deal, so if anyone
> objects I'll let it drop, and I don't think it merits anything
> fancier.

Just out of curiosity --- what's the rationale for flushing after
every line, rather than once at the end of the loop?  Is there
actual input-reading going on underneath the @$self notation?
If it's just dumping data from process memory, I should think
one flush would be sufficient.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: SimpleTee flush
Next
From: Tom Lane
Date:
Subject: Re: WIP: About CMake v2