AW: relation ### modified while in use - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: relation ### modified while in use
Date
Msg-id 11C1E6749A55D411A9670001FA6879633680E3@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> > 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


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: relation ### modified while in use
Next
From: Christof Petig
Date:
Subject: Re: Leaking definitions to user programs