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? 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.
Isn't the loop over file handles written to? What would you flush
outside the loop?
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company