Re: psql -e - Mailing list pgsql-general

From Tom Lane
Subject Re: psql -e
Date
Msg-id 8748.1059399391@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql -e  (Martijn van Oosterhout <kleptog@svana.org>)
Responses update innside transactions?
List pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> Hmm, a little late here, but why not just unbuffer stdout, or are there
> reasons to preserve some buffering?

Performance.  Unbuffered I/O is expensive, and not attractive in situations
where an fflush or two will solve the problem.

            regards, tom lane

pgsql-general by date:

Previous
From: nolan@celery.tssi.com
Date:
Subject: Re: psql -e
Next
From: nolan@celery.tssi.com
Date:
Subject: Re: psql -e