Fix portability issue in ordered-set patch.

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

Commit: cf63c641cae2063a0442d73d49af295301cec61b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2013-12-24T01:24:07Z
Releases: 9.4.0
Fix portability issue in ordered-set patch.

Overly compact coding in makeOrderedSetArgs() led to a platform dependency:
if the compiler chose to execute the subexpressions in the wrong order,
list_length() might get applied to an already-modified List, giving a
value we didn't want.  Per buildfarm.

Files

PathChange+/−
src/backend/parser/gram.y modified +5 −1