pgsql: Abort a FETCH_COUNT-controlled query if we observe any I/O error

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Abort a FETCH_COUNT-controlled query if we observe any I/O error
Date: 2010-05-28 20:02:32
Message-ID: 20100528200232.C74DA7541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Abort a FETCH_COUNT-controlled query if we observe any I/O error on the
output stream. This typically indicates that the user quit out of $PAGER,
or that we are writing to a file and ran out of disk space. In either case
we shouldn't bother to continue fetching data.

Stephen Frost

Modified Files:
--------------
pgsql/src/bin/psql:
common.c (r1.144 -> r1.145)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/common.c?r1=1.144&r2=1.145)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-05-29 02:32:08 pgsql: Add C comment that we will have to remove an exclusion constraint
Previous Message Tom Lane 2010-05-28 19:21:31 Re: pgsql: PGDLLEXPORT is __declspec (dllexport) only on MSVC, but is