mirror of
https://github.com/postgres/postgres.git
synced 2026-06-05 23:04:44 -04:00
Fix compiler warning
With some newer gcc versions (8 and 9) you get a -Wformat-overflow warning here. In PG11 and later this was already fixed. Since it's trivial, backport it to get the older branches building without warnings.
This commit is contained in:
parent
5ce3b55520
commit
99493bcbe7
1 changed files with 1 additions and 1 deletions
|
|
@ -2616,7 +2616,7 @@ parseQuery(Command *cmd, const char *raw_sql)
|
|||
p = sql;
|
||||
while ((p = strchr(p, ':')) != NULL)
|
||||
{
|
||||
char var[12];
|
||||
char var[13];
|
||||
char *name;
|
||||
int eaten;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue