Re: pgsql: Fix plan created for inherited UPDATE/DELETE with all tables exc

2019-04-19 Thread Amit Langote
On 2019/04/19 4:41, Tom Lane wrote: > Amit Langote writes: >> On 2019/02/23 2:23, Tom Lane wrote: >>> Fix plan created for inherited UPDATE/DELETE with all tables excluded. > >> I noticed that we may have forgotten to fix one more thing in this commit >> -- nominalRelation may refer to a range ta

Re: pgsql: Fix plan created for inherited UPDATE/DELETE with all tables exc

2019-04-18 Thread Tom Lane
Amit Langote writes: > On 2019/02/23 2:23, Tom Lane wrote: >> Fix plan created for inherited UPDATE/DELETE with all tables excluded. > I noticed that we may have forgotten to fix one more thing in this commit > -- nominalRelation may refer to a range table entry that's not referenced > elsewhere

Re: pgsql: Fix plan created for inherited UPDATE/DELETE with all tables exc

2019-04-17 Thread Amit Langote
On 2019/02/23 2:23, Tom Lane wrote: > Fix plan created for inherited UPDATE/DELETE with all tables excluded. > > In the case where inheritance_planner() finds that every table has > been excluded by constraints, it thought it could get away with > making a plan consisting of just a dummy Result no