Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

pgsql-server/src/backend/parser parse_clause.c

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql-server/src/backend/parser parse_clause.c
Дата
Msg-id 20020818184615.9F826475806@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/08/18 14:46:15

Modified files:
    src/backend/parser: parse_clause.c

Log message:
    Remove optimization whereby parser would make only one sort-list entry
    when two equal() targetlist items were to be added to an ORDER BY or
    DISTINCT list.  Although indeed this would make sorting fractionally
    faster by sometimes saving a comparison, it confuses the heck out of
    later stages of processing, because it makes it look like the user
    wrote DISTINCT ON rather than DISTINCT.  Bug reported by joe@piscitella.com.


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