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:41
Message-ID: 20100218235041.CD31A7541C5@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_0_STABLE

Modified Files:
--------------
pgsql/src/pl/plpython:
plpython.c (r1.58.4.9 -> r1.58.4.10)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.58.4.9&r2=1.58.4.10)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-02-19 00:15:26 pgsql: Hot Standby documentation updates Greg Smith
Previous Message Tom Lane 2010-02-18 23:50:33 pgsql: Volatile-ize all five places where we expect a PG_TRY block to