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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 35ce24c) | patch
Fix Memoize to work with partitionwise joining.
Mon, 5 Dec 2022 17:36:40 +0000 (12:36 -0500)
Mon, 5 Dec 2022 17:36:40 +0000 (12:36 -0500)
commit d69d01ba9d8d774487032459ebb83d2086715f01
Fix Memoize to work with partitionwise joining.

A couple of places weren't up to speed for this. By sheer good
luck, we didn't fail but just selected a non-memoized join plan,
at least in the test case we have. Nonetheless, it's a bug,
and I'm not quite sure that it couldn't have worse consequences
in other examples. So back-patch to v14 where Memoize came in.

Richard Guo

Discussion: https://postgr.es/m/CAMbWs48GkNom272sfp0-WeD6_0HSR19BJ4H1c9ZKSfbVnJsvRg@mail.gmail.com
src/backend/optimizer/path/joinpath.c diff | blob | blame | history
src/backend/optimizer/util/pathnode.c diff | blob | blame | history
src/include/nodes/pathnodes.h diff | blob | blame | history
src/test/regress/expected/memoize.out diff | blob | blame | history
src/test/regress/sql/memoize.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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