Re: [COMMITTERS] pgsql: Suppress some compiler warnings in recent commits.

2011-02-08 Thread Simon Riggs
On Tue, 2011-02-08 at 23:12 +, Tom Lane wrote: > Also clean up logic in ATExecValidateConstraint to make it easier to read > and less likely to provoke "variable might be used uninitialized in this > function" warnings. Thanks. -- Simon Riggs http://www.2ndQuadrant.com/books/ Po

[COMMITTERS] pgsql: Suppress some compiler warnings in recent commits.

2011-02-08 Thread Tom Lane
Suppress some compiler warnings in recent commits. Older versions of gcc tend to throw "variable might be clobbered by `longjmp' or `vfork'" warnings whenever a variable is assigned in more than one place and then used after the end of a PG_TRY block. That's reasonably easy to work around in exec