pgsql: Suppress volatile-related warning seen in some compilers. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress volatile-related warning seen in some compilers.
Date
Msg-id E1SsjGX-0000xp-Sa@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Suppress volatile-related warning seen in some compilers.

Antique versions of gcc complain about vars that are initialized outside
PG_TRY and then modified within it.  Rather than marking the var volatile,
expend one more line of code.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1f115d98b984c80e635392aed10cc6185d1f8f4b

Modified Files
--------------
src/pl/plpgsql/src/pl_handler.c |    5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Account for SRFs in targetlists in planner rowcount estimates.
Next
From: Tom Lane
Date:
Subject: pgsql: Use --nosync during make check's initdb call.