>>> Francisco Olarte Sanz <folarte(at)peoplecall(dot)com> wrote:
> Similarly nearly nobody bothers
> to fclose() stdin/out/err
On that one, maybe it should be done more often. In writing
pg_clearxlogtail I found that closing stdout improved performance
markedly. This was a filter piping from disk into gzip.
-Kevin