pgsql: Volatile-ize all five places where we expect a PG_TRY block to

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Volatile-ize all five places where we expect a PG_TRY block to
Date: 2010-02-18 23:50:33
Message-ID: 20100218235033.CAE0C7541C5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Volatile-ize all five places where we expect a PG_TRY block to restore
old memory context in plpython. Before only one of them was marked
volatile, but per report from Zdenek Kotala, some compilers do the
wrong thing here.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/pl/plpython:
plpython.c (r1.66.2.7 -> r1.66.2.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.66.2.7&r2=1.66.2.8)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-02-18 23:50:41 pgsql: Volatile-ize all five places where we expect a PG_TRY block to
Previous Message Tom Lane 2010-02-18 23:50:27 pgsql: Volatile-ize all five places where we expect a PG_TRY block to