pgsql/src/backend/optimizer/util clauses.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/optimizer/util clauses.c
Date: 2001-07-31 20:16:33
Message-ID: 200107312016.f6VKGXi22804@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-07-31 22:55:45 pgsql/src backend/libpq/hba.c backend/postmast ...
Previous Message Tom Lane 2001-07-31 18:39:13 pgsql/src backend/optimizer/path/Tag: backend/ ...