]> granicus.if.org Git - postgresql/commit
Abort a FETCH_COUNT-controlled query if we observe any I/O error on the
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 May 2010 20:02:32 +0000 (20:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 May 2010 20:02:32 +0000 (20:02 +0000)
commit47d6d4485bca56900dee8ae6f7ad82fa98efcc21
tree74ee88f2c372342037d0a8482d512742e8661d35
parentece869b11eedd082ccd0bbd73ab9013c9ad9fa13
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
src/bin/psql/common.c