Commit 0e3d5ad4 authored by Tom Lane's avatar Tom Lane

Reduce chatter from _dosmaperr() when used in FRONTEND code.

ITAGAKI Takahiro
parent bcf188a2
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/port/win32error.c,v 1.4 2008/01/01 19:46:00 momjian Exp $ * $PostgreSQL: pgsql/src/port/win32error.c,v 1.5 2008/10/16 13:27:34 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -180,7 +180,7 @@ _dosmaperr(unsigned long e) ...@@ -180,7 +180,7 @@ _dosmaperr(unsigned long e)
ereport(DEBUG5, ereport(DEBUG5,
(errmsg_internal("mapped win32 error code %lu to %d", (errmsg_internal("mapped win32 error code %lu to %d",
e, errno))); e, errno)));
#else #elif FRONTEND_DEBUG
fprintf(stderr, _("mapped win32 error code %lu to %d"), e, errno); fprintf(stderr, _("mapped win32 error code %lu to %d"), e, errno);
#endif #endif
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment