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

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

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

От:
Tom Lane <tgl@hub.org>
Дата:
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.

FAQ