Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit36e012e

Browse files
committed
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.
1 parent9c3f24b commit36e012e

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.130 2006/10/04 00:29:57 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.131 2006/11/06 17:10:22 tgl Exp $
1111
*
1212
* NOTES:
1313
*
@@ -1278,20 +1278,6 @@ AllocateFile(const char *name, const char *mode)
12781278
errno=save_errno;
12791279
}
12801280

1281-
/*
1282-
* TEMPORARY hack to log the Windows error code on fopen failures, in
1283-
* hopes of diagnosing some hard-to-reproduce problems.
1284-
*/
1285-
#ifdefWIN32
1286-
{
1287-
intsave_errno=errno;
1288-
1289-
elog(LOG,"Windows fopen(\"%s\",\"%s\") failed: code %lu, errno %d",
1290-
name,mode,GetLastError(),save_errno);
1291-
errno=save_errno;
1292-
}
1293-
#endif
1294-
12951281
returnNULL;
12961282
}
12971283

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp