Thread: AW: relation ### modified while in use

AW: relation ### modified while in use

From
Zeugswetter Andreas SB
Date:
> > The problem at hand is that
> > a plan may be invalidated before it is even finished building.  Do you
> > expect the parse-rewrite-plan-execute pipeline to be prepared to back up
> > and restart if we notice a relation schema change report halfway down the
> > process? 

Yes, during the processing "of one single statement", (and this includes
the parse/plan phase) we will need to hold a shared lock from the first access,
as by our previous discussion.

Andreas