Chris Jones <chris@mt.sri.com> writes:
>> /* we got a partial write count. No problem; try again. */
>> totalwritten +=3D lastwritten;
No. An infinite loop is NOT an acceptable response to running out of
disk space. This is a disk file we are writing, not a socket.
regards, tom lane