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

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

From
Tom Lane
Date:
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(-)