forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit480f1f4
committed
Teach adjust_appendrel_attrs(_multilevel) to do multiple translations.
Currently, child relations are always base relations, so when wetranslate parent relids to child relids, we only need to translatea singler relid. However, the proposed partition-wise join featurewill create child joins, which will mean we need to translate a setof parent relids to the corresponding child relids. This ispreliminary refactoring to make that possible.Ashutosh Bapat. Review and testing of the larger patch set of whichthis is a part by Amit Langote, Rajkumar Raghuwanshi, Rafia Sabih,Thomas Munro, Dilip Kumar, and me. Some adjustments, mostlycosmetic, by me.Discussion:http://postgr.es/m/CA+TgmobQK80vtXjAsPZWWXd7c8u13G86gmuLupN+uUJjA+i4nA@mail.gmail.com1 parentd57929a commit480f1f4
File tree
5 files changed
+200
-72
lines changed- src
- backend/optimizer
- path
- plan
- prep
- include/optimizer
5 files changed
+200
-72
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
942 | 942 |
| |
943 | 943 |
| |
944 | 944 |
| |
945 |
| - | |
| 945 | + | |
946 | 946 |
| |
947 | 947 |
| |
948 | 948 |
| |
| |||
1061 | 1061 |
| |
1062 | 1062 |
| |
1063 | 1063 |
| |
1064 |
| - | |
| 1064 | + | |
1065 | 1065 |
| |
1066 | 1066 |
| |
1067 | 1067 |
| |
1068 |
| - | |
| 1068 | + | |
1069 | 1069 |
| |
1070 | 1070 |
| |
1071 | 1071 |
| |
|
Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1329 | 1329 |
| |
1330 | 1330 |
| |
1331 | 1331 |
| |
1332 |
| - | |
| 1332 | + | |
| 1333 | + | |
1333 | 1334 |
| |
1334 | 1335 |
| |
1335 | 1336 |
| |
| |||
2112 | 2113 |
| |
2113 | 2114 |
| |
2114 | 2115 |
| |
2115 |
| - | |
| 2116 | + | |
2116 | 2117 |
| |
2117 | 2118 |
| |
2118 | 2119 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1142 | 1142 |
| |
1143 | 1143 |
| |
1144 | 1144 |
| |
1145 |
| - | |
| 1145 | + | |
1146 | 1146 |
| |
1147 | 1147 |
| |
1148 | 1148 |
| |
|
0 commit comments
Comments
(0)