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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 495e73c) | patch
Fix planner failure with extended statistics on partitioned tables.
Tue, 1 Nov 2022 18:34:44 +0000 (14:34 -0400)
Tue, 1 Nov 2022 18:34:44 +0000 (14:34 -0400)
commit f4857082bc16f36a5cdc6f8328cdc8071bb1715e
Fix planner failure with extended statistics on partitioned tables.

Some cases would result in "cache lookup failed for statistics object",
due to trying to fetch inherited statistics when only non-inherited
ones are available or vice versa.

Richard Guo and Justin Pryzby

Discussion: https://postgr.es/m/20221030170520.GM16921@telsasoft.com
src/backend/utils/adt/selfuncs.c diff | blob | blame | history
src/test/regress/expected/stats_ext.out diff | blob | blame | history
src/test/regress/sql/stats_ext.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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