Avoid redundant relation lock grabs during planning, and make sure
that we acquire a lock on relations added to the query due to inheritance. Formerly, no such lock was held throughout planning, which meant that a schema change could occur to invalidate the plan before it's even been completed.
Showing
Please register or sign in to comment