Skip to content

Commit 9e713dd

Browse files
committed
Get rid of elog(DEBUG) in snprintf emulation ... it's just
cluttering the log file...
1 parent 51db645 commit 9e713dd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/port/snprintf.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ typedef unsigned long ulong_long;
7474
* causing nast effects.
7575
**************************************************************/
7676

77-
/*static char _id[] = "$Id: snprintf.c,v 1.26 1999/08/31 01:28:37 tgl Exp $";*/
77+
/*static char _id[] = "$Id: snprintf.c,v 1.27 1999/09/09 03:13:22 tgl Exp $";*/
7878
static char *end;
7979
static int SnprfOverflow;
8080

@@ -104,9 +104,6 @@ vsnprintf(char *str, size_t count, const char *fmt, va_list args)
104104
dopr(str, fmt, args);
105105
if (count > 0)
106106
end[0] = '\0';
107-
if (SnprfOverflow)
108-
elog(DEBUG, "vsnprintf overflow, len = %d, str = %s",
109-
count, str);
110107
return strlen(str);
111108
}
112109

0 commit comments

Comments
 (0)