pgsql/src/backend/optimizer/util clauses.c - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/optimizer/util clauses.c
Date
Msg-id 200107312016.f6VKGXi22804@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/07/31 16:16:33

Modified files:
    src/backend/optimizer/util: clauses.c

Log message:
    Further thought shows that has_distinct_on_clause() needs to take much
    more care with resjunk tlist entries than it was doing.  The original
    coding ignored resjunk entries entirely, but a resjunk entry that is
    in either the distinctClause or sortClause lists indicates that DISTINCT
    ON was used.  It's important for ruleutils.c to get this right, else we
    may dump views using DISTINCT ON incorrectly.


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src backend/optimizer/path/Tag: backend/ ...
Next
From: Tom Lane
Date:
Subject: pgsql/src backend/libpq/hba.c backend/postmast ...