Fix portability issue in ordered-set patch.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/parser/gram.y | modified | +5 −1 |