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:31 +0000 (20:24 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Dec 2005 20:24:31 +0000 (20:24 +0000)
commit3ece85f8bf43e122fc4fa647e56c72a6511cca4f
treeab68e709227b3aa34abf2c18a59515ba0a438038
parent963a811a67cac1935e6acfc814da35234669d6e5
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