Skip to content

Commit 2c6feff

Browse files
committed
Remove temporary Windows-specific debugging code.
1 parent 234a02b commit 2c6feff

File tree

1 file changed

+1
-15
lines changed
  • src/backend/storage/file

1 file changed

+1
-15
lines changed

src/backend/storage/file/fd.c

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.135 2007/01/25 04:35:10 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.136 2007/02/28 15:59:30 mha Exp $
1111
*
1212
* NOTES:
1313
*
@@ -1334,20 +1334,6 @@ AllocateFile(const char *name, const char *mode)
13341334
errno = save_errno;
13351335
}
13361336

1337-
/*
1338-
* TEMPORARY hack to log the Windows error code on fopen failures, in
1339-
* hopes of diagnosing some hard-to-reproduce problems.
1340-
*/
1341-
#ifdef WIN32
1342-
{
1343-
int save_errno = errno;
1344-
1345-
elog(LOG, "Windows fopen(\"%s\",\"%s\") failed: code %lu, errno %d",
1346-
name, mode, GetLastError(), save_errno);
1347-
errno = save_errno;
1348-
}
1349-
#endif
1350-
13511337
return NULL;
13521338
}
13531339

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy