forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit53abb1e
committed
Fix newly introduced issue in EXPLAIN for Materialize nodes
The code added in1eff827 was lacking a check to see if the tuplestorehad been created. In nodeMaterial.c this is done by ExecMaterial() ratherthan by ExecInitMaterial(), so the tuplestore won't be created unlessthe node has been executed at least once, as demonstrated by Alexanderin his report.Here we skip showing any of the new EXPLAIN ANALYZE information when theMaterialize node has not been executed.Reported-by: Alexander LakhinDiscussion:https://postgr.es/m/fe7fc8fb-86e5-ecb0-3cb2-dd2c9a6c482f@gmail.com1 parent1850184 commit53abb1e
1 file changed
+6
-3
lines changedLines changed: 6 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3333 | 3333 |
| |
3334 | 3334 |
| |
3335 | 3335 |
| |
3336 |
| - | |
| 3336 | + | |
3337 | 3337 |
| |
3338 | 3338 |
| |
3339 | 3339 |
| |
3340 |
| - | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
3341 | 3345 |
| |
3342 | 3346 |
| |
3343 |
| - | |
3344 | 3347 |
| |
3345 | 3348 |
| |
3346 | 3349 |
| |
|
0 commit comments
Comments
(0)