From: Tom Lane Date: Thu, 9 Sep 1999 03:13:22 +0000 (+0000) Subject: Get rid of elog(DEBUG) in snprintf emulation ... it's just X-Git-Tag: REL7_0~1528 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e713ddb99da9ef9bdc893460dca2b6a91f01ba0;p=postgresql Get rid of elog(DEBUG) in snprintf emulation ... it's just cluttering the log file... --- diff --git a/src/backend/port/snprintf.c b/src/backend/port/snprintf.c index 95a79a504d..46d1da0b98 100644 --- a/src/backend/port/snprintf.c +++ b/src/backend/port/snprintf.c @@ -74,7 +74,7 @@ typedef unsigned long ulong_long; * causing nast effects. **************************************************************/ -/*static char _id[] = "$Id: snprintf.c,v 1.26 1999/08/31 01:28:37 tgl Exp $";*/ +/*static char _id[] = "$Id: snprintf.c,v 1.27 1999/09/09 03:13:22 tgl Exp $";*/ static char *end; static int SnprfOverflow; @@ -104,9 +104,6 @@ vsnprintf(char *str, size_t count, const char *fmt, va_list args) dopr(str, fmt, args); if (count > 0) end[0] = '\0'; - if (SnprfOverflow) - elog(DEBUG, "vsnprintf overflow, len = %d, str = %s", - count, str); return strlen(str); }