Avoid re-using output variables in new ecpg test case.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Nov 2020 21:25:42 +0000 (16:25 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 7 Nov 2020 21:25:42 +0000 (16:25 -0500)
commit3459f4169ba9665fbc7965165ec4ef83170b748b
treeebac51c2ac895e60f8127661a27ccc7405aa57ef
parent7fb326e04b5c367f03b2ebb85348e79a722afef9
Avoid re-using output variables in new ecpg test case.

The buildfarm thinks this leads to memory stomps, though annoyingly
I can't duplicate that here.  The existing code in strings.pgc is
doing something that doesn't seem to be sanctioned at all really
by the documentation, but I'm disinclined to try to make that nicer
right now.  Let's just declare some more output variables in hopes
of working around it.
src/interfaces/ecpg/test/expected/preproc-strings.c
src/interfaces/ecpg/test/expected/preproc-strings.stderr
src/interfaces/ecpg/test/preproc/strings.h
src/interfaces/ecpg/test/preproc/strings.pgc