Avoid "variable might be clobbered by longjmp" warning.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 58bc48179b3cad0793ae20b002d60289c8bf0b9b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-03-28T17:19:49Z
Releases: 9.3.0
Avoid "variable might be clobbered by longjmp" warning.

On older-model gcc, the original coding of UTILITY_BEGIN_QUERY() can
draw this error because of multiple assignments to _needCleanup.
Rather than mark that variable volatile, we can suppress the warning
by arranging to have just one unconditional assignment before PG_TRY.

Files

PathChange+/−
src/backend/tcop/utility.c modified +2 −5