pgsql/src backend/nodes/print.c backend/optimi ...
pgsql/src backend/nodes/print.c backend/optimi ...
От:
tgl@postgresql.org
Дата:
CVSROOT: /cvsroot Module name: pgsql Changes by: tgl@postgresql.org 01/10/18 12:11:42 Modified files: src/backend/nodes: print.c src/backend/optimizer: README src/backend/optimizer/path: allpaths.c joinrels.c pathkeys.c src/backend/optimizer/plan: initsplan.c planner.c src/backend/optimizer/util: relnode.c src/include/optimizer: paths.h Log message: Extend code that deduces implied equality clauses to detect whether a clause being added to a particular restriction-clause list is redundant with those already in the list. This avoids useless work at runtime, and (perhaps more importantly) keeps the selectivity estimation routines from generating too-small estimates of numbers of output rows. Also some minor improvements in OPTIMIZER_DEBUG displays.