Volatile-ize some plperl variables that must survive into PG_CATCH blocks.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c0ef456b9714215cae0ce3561c7c83629a7301cf
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-01-23T14:15:49Z
Releases: 10.0
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

Files

PathChange+/−
src/pl/plperl/plperl.c modified +4 −4

Discussion