Re: psql: flush output in cursor-fetch mode - Mailing list pgsql-patches

From Tom Lane
Subject Re: psql: flush output in cursor-fetch mode
Date
Msg-id 10599.1182478151@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql: flush output in cursor-fetch mode  (Neil Conway <neilc@samurai.com>)
Responses Re: psql: flush output in cursor-fetch mode  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> On Wed, 2007-06-20 at 15:51 -0700, Neil Conway wrote:
>> Attached is a patch that fixes this, by calling fflush() on the psql
>> output stream after each call to printQuery() in ExecQueryUsingCursor().

> Applied to HEAD.

Seems reasonable to back-patch into 8.2 too...

            regards, tom lane

pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: psql: flush output in cursor-fetch mode
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: Cancel autovacuum conflicting with DROP TABLE