[COMMITTERS] pgsql: Volatile-ize some plperl variables that must survive intoPG_CAT - Mailing list pgsql-committers

From Tom Lane
Subject [COMMITTERS] pgsql: Volatile-ize some plperl variables that must survive intoPG_CAT
Date
Msg-id E1cVfPY-00080b-2b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c0ef456b9714215cae0ce3561c7c83629a7301cf

Modified Files
--------------
src/pl/plperl/plperl.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [COMMITTERS] pgsql: pg_dump: Fix minor memory leak
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Fix example plan in optimizer/README.