pgsql: Fix portability issue in ordered-set patch.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix portability issue in ordered-set patch.
Дата
Msg-id E1VvGjF-0004k1-4f@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/cf63c641cae2063a0442d73d49af295301cec61b

Modified Files
--------------
src/backend/parser/gram.y |    6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Support ordered-set (WITHIN GROUP) aggregates.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Revise documentation for new freezing method.