diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-18 15:21:54 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-18 15:21:54 +0000 |
commit | 99848ed7cb06ca14ee06bfa5b521c43ea63001a2 (patch) | |
tree | 0544e50d2447b6c87bcae7ed27c8a9cfb53c30cc /src/backend/executor/nodeModifyTable.c | |
parent | ef71375346f8eba52ab3ec8b360869f859c83f3e (diff) | |
download | postgresql-99848ed7cb06ca14ee06bfa5b521c43ea63001a2.tar.gz postgresql-99848ed7cb06ca14ee06bfa5b521c43ea63001a2.zip |
Add missing handling of PlannedStmt.transientPlan in copyfuncs/outfuncs.
_outPlannedStmt is only debug support, so the omission there was not very
serious, but the omission in _copyPlannedStmt is a real bug. The consequence
would 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 index
becomes ready for use. This might explain some past complaints about indexes
created with CREATE INDEX CONCURRENTLY not being used right away. Problem
spotted by Yeb Havinga.
Back-patch to 8.3, where the field was added.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions