OSDN Git Service

Retry in FileRead and FileWrite if Windows returns ERROR_NO_SYSTEM_RESOURCES.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Dec 2005 20:24:18 +0000 (20:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Dec 2005 20:24:18 +0000 (20:24 +0000)
commitace17c1d82ed074f25167575dde6fb15aec33b41
tree0d3a87e3a92279ff1347daf4ac8b8d85e5cd3cdf
parent277b2ea32870f1f41d301460d30c26b4dbb2825b
Retry in FileRead and FileWrite if Windows returns ERROR_NO_SYSTEM_RESOURCES.
Also add a retry for Unixen returning EINTR, which hasn't been reported
as an issue but at least theoretically could be.  Patch by Qingqing Zhou,
some minor adjustments by me.
src/backend/storage/file/fd.c