pgsql: Retry in FileRead and FileWrite if Windows returns

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Retry in FileRead and FileWrite if Windows returns
Date: 2005-12-01 20:24:18
Message-ID: 20051201202418.6E3F39DD6C3@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/storage/file:
fd.c (r1.122 -> r1.123)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/file/fd.c.diff?r1=1.122&r2=1.123)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-12-01 20:24:32 pgsql: Retry in FileRead and FileWrite if Windows returns
Previous Message Bruce Momjian 2005-12-01 20:06:37 pgsql: Add comments about why errno is set to zero.