CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: [EMAIL PROTECTED] 03/12/30 19:53:15
Modified files:
src/backend/nodes: copyfuncs.c equalfuncs.c outfuncs.c
src/backend/optimizer/path: indxpath.c joinpath.c
src/backend/optimizer/plan: initsplan.c
src/backend/optimizer/util: clauses.c restrictinfo.c
src/include/nodes: relation.h
src/include/optimizer: clauses.h
Log message:
Adjust the definition of RestrictInfo's left_relids and right_relids
fields: now they are valid whenever the clause is a binary opclause,
not only when it is a potential join clause (there is a new boolean
field canjoin to signal the latter condition). This lets us avoid
recomputing the relid sets over and over while examining indexes.
Still more work to do to make this as useful as it could be, because
there are places that could use the info but don't have access to the
RestrictInfo node.
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly