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