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:
Peter Eisentraut 2019-08-12 21:20:14 +02:00
parent 886cf85b52
commit 333a186dc5
1 changed files with 1 additions and 1 deletions

View File

@ -2857,7 +2857,7 @@ parseQuery(Command *cmd)
p = sql;
while ((p = strchr(p, ':')) != NULL)
{
char var[12];
char var[13];
char *name;
int eaten;