Обсуждение: pgsql-server/src backend/parser/analyze.c back ...

Поиск
Список
Период
Сортировка

pgsql-server/src backend/parser/analyze.c back ...

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/06/15 13:42:08

Modified files:
    src/backend/parser: analyze.c parse_clause.c
    src/include/parser: parse_clause.h

Log message:
    Cause GROUP BY clause to adopt ordering operators from ORDER BY when
    both clauses specify the same targets, rather than always using the
    default ordering operator.  This allows 'GROUP BY foo ORDER BY foo DESC'
    to be done with only one sort step.