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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0dc4019) | patch
Enable use of Memoize atop an Append that came from UNION ALL.
2023年3月16日 22:13:35 +0000 (18:13 -0400)
2023年3月16日 22:13:45 +0000 (18:13 -0400)
commit 9bfd2822b3201f6b0de1e87305b11ee3885b36d9
Enable use of Memoize atop an Append that came from UNION ALL.

create_append_path() would only apply get_baserel_parampathinfo
when the path is for a partitioned table, but it's also potentially
useful for paths for UNION ALL appendrels. Specifically, that
supports building a Memoize path atop this one.

While we're in the vicinity, delete some dead code in
create_merge_append_plan(): there's no need for it to support
parameterized MergeAppend paths, and it doesn't look like that
is going to change anytime soon. It'll be easy enough to undo
this when/if it becomes useful.

Richard Guo

Discussion: https://postgr.es/m/CAMbWs4_ABSu4PWG2rE1q10tJugEXHWgru3U8dAgkoFvgrb6aEA@mail.gmail.com
src/backend/optimizer/plan/createplan.c diff | blob | blame | history
src/backend/optimizer/util/pathnode.c 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 によって変換されたページ (->オリジナル) /