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

Commit8cf0ad1

Browse files
committed
Add comment that ec_relids excludes "child" EquivalenceClass members.
This was already documented a few lines further down, but the commentjust beside the field declaration could be misleading. Per gripefrom Kyotaro Horiguchi.
1 parent406a1a9 commit8cf0ad1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/include/nodes/relation.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,8 @@ typedef struct EquivalenceClass
585585
List*ec_members;/* list of EquivalenceMembers */
586586
List*ec_sources;/* list of generating RestrictInfos */
587587
List*ec_derives;/* list of derived RestrictInfos */
588-
Relidsec_relids;/* all relids appearing in ec_members */
588+
Relidsec_relids;/* all relids appearing in ec_members, except
589+
* for child members (see below) */
589590
boolec_has_const;/* any pseudoconstants in ec_members? */
590591
boolec_has_volatile;/* the (sole) member is a volatile expr */
591592
boolec_below_outer_join;/* equivalence applies below an OJ */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp