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

Commitfcf1f27

Browse files
committed
Fix compiler warning
With some newer gcc versions (8 and 9) you get a -Wformat-overflowwarning here. In PG11 and later this was already fixed. Since it'strivial, backport it to get the older branches building withoutwarnings.This back-patches commit333a186 into out-of-support branches,pursuant to newly-established project policy. The point is tosuppress scary-looking warnings so that people building thesebranches needn't expend brain cells verifying that it's safeto ignore the warnings.Discussion:https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com
1 parenta1fe82d commitfcf1f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ parseQuery(Command *cmd, const char *raw_sql)
17601760
p=sql;
17611761
while ((p=strchr(p,':'))!=NULL)
17621762
{
1763-
charvar[12];
1763+
charvar[13];
17641764
char*name;
17651765
inteaten;
17661766

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp