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

Commit9e713dd

Browse files
committed
Get rid of elog(DEBUG) in snprintf emulation ... it's just
cluttering the log file...
1 parent51db645 commit9e713dd

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
staticchar*end;
7979
staticintSnprfOverflow;
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
returnstrlen(str);
111108
}
112109

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp