Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc596fad

Browse files
committed
Generate a separate upper relation for each stage of setop planning.
Commit3fc6e2d made setop planningstages return paths rather than plans, but all such paths were looselyassociated with a single RelOptInfo, and only the final path was addedto the RelOptInfo. Even at the time, it was foreseen that this shouldbe changed, because there is otherwise no good way for a single stageof setop planning to return multiple paths. With this patch, eachstage of set operation planning now creates a separate RelOptInfo;these are distinguished by using appropriate relid sets. Note thatthis patch does nothing whatsoever about actually returning multiplepaths for the same set operation; it just makes it possible for afuture patch to do so.Along the way, adjust things so that create_upper_paths_hook is calledfor each of these new RelOptInfos rather than just once, since thatmight be useful to extensions using that hook. It might be a goodto provide an FDW API here as well, but I didn't try to do that fornow.Patch by me, reviewed and tested by Ashutosh Bapat and RajkumarRaghuwanshi.Discussion:http://postgr.es/m/CA+TgmoaLRAOqHmMZx=ESM3VDEPceg+-XXZsRXQ8GtFJO_zbMSw@mail.gmail.com
1 parent49525c4 commitc596fad

File tree

1 file changed

+190
-150
lines changed

1 file changed

+190
-150
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp