diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-06 17:10:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-11-06 17:10:22 +0000 |
commit | 36e012e727116c629958b95c5aa94da99af31044 (patch) | |
tree | 91055938868a29fad935303e7ca929f28ed5e5a9 | |
parent | 9c3f24bb46d1c2f548a309c01dda238e57f3d80b (diff) | |
download | postgresql-36e012e727116c629958b95c5aa94da99af31044.tar.gz postgresql-36e012e727116c629958b95c5aa94da99af31044.zip |
Remove temporary Windows-specific debugging code; it seems the problem
with fopen() not using FILE_SHARE_DELETE was indeed the bug we were after,
given lack of recent reports.
-rw-r--r-- | src/backend/storage/file/fd.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index a594b16edf3..26746889c9a 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.130 2006/10/04 00:29:57 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.131 2006/11/06 17:10:22 tgl Exp $ * * NOTES: * @@ -1278,20 +1278,6 @@ TryAgain: errno = save_errno; } - /* - * TEMPORARY hack to log the Windows error code on fopen failures, in - * hopes of diagnosing some hard-to-reproduce problems. - */ -#ifdef WIN32 - { - int save_errno = errno; - - elog(LOG, "Windows fopen(\"%s\",\"%s\") failed: code %lu, errno %d", - name, mode, GetLastError(), save_errno); - errno = save_errno; - } -#endif - return NULL; } |