pgsql: Fix missing "volatile" in PLy_output(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix missing "volatile" in PLy_output().
Date
Msg-id E1ape6I-0003Fs-MY@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: cpluspluscheck: Update include path
Next
From: Kevin Grittner
Date:
Subject: Re: pgsql: Add the "snapshot too old" feature