- Notifications
You must be signed in to change notification settings - Fork28
Commit99848ed
committed
Add missing handling of PlannedStmt.transientPlan in copyfuncs/outfuncs.
_outPlannedStmt is only debug support, so the omission there was not veryserious, but the omission in _copyPlannedStmt is a real bug. The consequencewould be that a copied plan tree would never be marked as a transient plan,so that we would forget we ought to replan it after some not-yet-ready indexbecomes ready for use. This might explain some past complaints about indexescreated with CREATE INDEX CONCURRENTLY not being used right away. Problemspotted by Yeb Havinga.Back-patch to 8.3, where the field was added.1 parentef71375 commit99848ed
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
0 commit comments
Comments
(0)