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

Commit8f9f6e5

Browse files
committed
Clean up optimizer's handling of indexscan quals that need to be
commuted (ie, the index var appears on the right). These are now handledthe same way as merge and hash join quals that need to be commuted: theactual reversing of the clause only happens if we actually choose the pathand generate a plan from it. Furthermore, the clause is only reversed inthe 'indexqual' field of the plan, not in the 'indxqualorig' field. Thisallows the clause to still be recognized and removed from qpquals of upperlevel join plans. Also, simplify and generalize match_clause_to_indexkey;now it recognizes binary-compatible indexes for join as well as restrictionclauses.
1 parentaae034d commit8f9f6e5

File tree

4 files changed

+258
-239
lines changed

4 files changed

+258
-239
lines changed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp