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

Commit0e3d5ad

Browse files
committed
Reduce chatter from _dosmaperr() when used in FRONTEND code.
ITAGAKI Takahiro
1 parentbcf188a commit0e3d5ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/port/win32error.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
77
*
88
* IDENTIFICATION
9-
* $PostgreSQL: pgsql/src/port/win32error.c,v 1.4 2008/01/01 19:46:00 momjian Exp $
9+
* $PostgreSQL: pgsql/src/port/win32error.c,v 1.5 2008/10/16 13:27:34 tgl Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -180,7 +180,7 @@ _dosmaperr(unsigned long e)
180180
ereport(DEBUG5,
181181
(errmsg_internal("mapped win32 error code %lu to %d",
182182
e,errno)));
183-
#else
183+
#elifFRONTEND_DEBUG
184184
fprintf(stderr,_("mapped win32 error code %lu to %d"),e,errno);
185185
#endif
186186
return;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp