Fix format truncation issue from ECPG test

This fixes one warning generated by GCC and present in the test case
array part of ECPG.  This likely got missed in past fixes like 3a4b891
because the compilation of those tests is not done by default.

Reported-by: Sergei Kornilov
Discussion: https://postgr.es/m/14951331562847675@sas2-a1efad875d04.qloud-c.yandex.net
This commit is contained in:
Michael Paquier 2019-08-02 09:51:12 +09:00
parent 6ae4e8eae7
commit a9f301df0e
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ main (void)
ECPGdebug(1, stderr);
for (j = 0; j < 10; j++) {
char str[20];
char str[28];
numeric *value;
interval *inter;

View File

@ -34,7 +34,7 @@ EXEC SQL END DECLARE SECTION;
ECPGdebug(1, stderr);
for (j = 0; j < 10; j++) {
char str[20];
char str[28];
numeric *value;
interval *inter;