]> granicus.if.org Git - postgresql/commitdiff
Remove temporary Windows-specific debugging code.
authorMagnus Hagander <magnus@hagander.net>
Wed, 28 Feb 2007 15:59:30 +0000 (15:59 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 28 Feb 2007 15:59:30 +0000 (15:59 +0000)
src/backend/storage/file/fd.c

index 486dd06bdc54952eac6ae8c3fab78c9bd59197c6..7af361adf0c9cb11032d7408bdc496511badfc59 100644 (file)
@@ -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.135 2007/01/25 04:35:10 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.136 2007/02/28 15:59:30 mha Exp $
  *
  * NOTES:
  *
@@ -1334,20 +1334,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;
 }