pgsql: Fix missing "volatile" in PLy_output().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix missing "volatile" in PLy_output().
Date: 2016-04-11 15:50:06
Message-ID: E1ape6I-0003Fs-MY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix missing "volatile" in PLy_output().

Commit 5c3c3cd0a3046339 plastered "volatile" on a bunch of variables
in PLy_output(), but removed the one that actually mattered, ie the
one on "oldcontext". This allows some versions of clang to generate
code in which "oldcontext" has been trashed when control reaches the
PG_CATCH block. Per buildfarm member tick.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/81ba9348d85fdf87e84cc02112933b592845bda2

Modified Files
--------------
src/pl/plpython/plpy_plpymodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Grittner 2016-04-11 17:31:09 Re: pgsql: Add the "snapshot too old" feature
Previous Message Peter Eisentraut 2016-04-11 15:17:39 pgsql: cpluspluscheck: Update include path