forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit0510421
committed
Tweak use of ExecContextForcesOids by Gather (Merge).
Specifically, pass the outer plan's PlanState instead of our ownPlanState. At present, ExecContextForcesOids doesn't actually carewhich PlanState we pass; it just looks through to the underlyingEState to find the result relation or top-level eflags. However, inthe future it might care. If that happens, and if our goal is to geta tuple descriptor that matches that of the outer plan, then I thinkwhat we care about is whether the outer plan's context forces OIDs,rather than whether our own context forces OIDs, just as we use theouter node's target list rather than our own.Patch by me, reviewed by Amit Kapila.Discussion:http://postgr.es/m/CA+TgmoZ0ZL=cesZFq8c9NnfK6bqy-wwUd3_74iYGodYrSoQ7Fw@mail.gmail.com1 parentf455e11 commit0510421
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
112 | 112 |
| |
113 | 113 |
| |
114 | 114 |
| |
115 |
| - | |
| 115 | + | |
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
155 | 155 |
| |
156 | 156 |
| |
157 | 157 |
| |
158 |
| - | |
| 158 | + | |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
|
0 commit comments
Comments
(0)