git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3a624e9) | patch
Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from
2009年4月19日 19:46:33 +0000 (19:46 +0000)
2009年4月19日 19:46:33 +0000 (19:46 +0000)
commit 1d97c19a0f748e94b9582dcbaec33ad74be062f9
Fix estimate_num_groups() to not fail on PlaceHolderVars, per report from
Stefan Kaltenbrunner. The most reasonable behavior (at least for the near
term) seems to be to ignore the PlaceHolderVar and examine its argument
instead. In support of this, change the API of pull_var_clause() to allow
callers to request recursion into PlaceHolderVars. Currently
estimate_num_groups() is the only customer for that behavior, but where
there's one there may be others.
12 files changed:
src/backend/catalog/heap.c diff | blob | blame | history
src/backend/optimizer/path/allpaths.c diff | blob | blame | history
src/backend/optimizer/path/equivclass.c diff | blob | blame | history
src/backend/optimizer/plan/createplan.c diff | blob | blame | history
src/backend/optimizer/plan/initsplan.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/optimizer/prep/preptlist.c diff | blob | blame | history
src/backend/optimizer/util/placeholder.c diff | blob | blame | history
src/backend/optimizer/util/tlist.c diff | blob | blame | history
src/backend/optimizer/util/var.c diff | blob | blame | history
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/include/optimizer/var.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /