Volatile-ize some plperl variables that must survive into PG_CATCH blocks.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Jan 2017 14:15:49 +0000 (09:15 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 23 Jan 2017 14:15:49 +0000 (09:15 -0500)
commitc0ef456b9714215cae0ce3561c7c83629a7301cf
tree2a684d8037b317c484766121e0afa38698f9d8aa
parent366d2a3d8808ad92436a830c32e73ce17affe5b6
Volatile-ize some plperl variables that must survive into PG_CATCH blocks.

This appears to be necessary to fix a failure seen on buildfarm member
sittella.  It shouldn't be necessary according to the letter of the C
standard, because we don't change the values of these variables within
the PG_TRY blocks; but somehow gcc 4.7.2 is dropping the ball.

Discussion: https://postgr.es/m/17555.1485179975@sss.pgh.pa.us
src/pl/plperl/plperl.c