pgsql: Volatile-ize some plperl variables that must survive into PG_CAT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Volatile-ize some plperl variables that must survive into PG_CAT
Date: 2017-01-23 14:15:56
Message-ID: E1cVfPY-00080b-2b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-01-23 14:38:41 pgsql: Fix example plan in optimizer/README.
Previous Message Peter Eisentraut 2017-01-23 13:29:22 pgsql: pg_dump: Fix minor memory leak