Antonin Houska writes:
> Tom Lane wrote:
>> Antonin Houska writes:
>>> The special case is that the path passed to add_path_precheck() has costs
>>> *equal to* those of the old_path. If pathkeys, outer rells and costs are the
>>> same, as summarized in the comment above, I expect add_path_preche
Tom Lane wrote:
> Antonin Houska writes:
> > The special case is that the path passed to add_path_precheck() has costs
> > *equal to* those of the old_path. If pathkeys, outer rells and costs are the
> > same, as summarized in the comment above, I expect add_path_precheck() to
> > return false. D
Antonin Houska writes:
> The special case is that the path passed to add_path_precheck() has costs
> *equal to* those of the old_path. If pathkeys, outer rells and costs are the
> same, as summarized in the comment above, I expect add_path_precheck() to
> return false. Do I misread anything?
It d
While thinking about add_path_precheck() function, it occurred to me that it
can discard some paths that otherwise would have chance be accepted in this
part of add_path():
/*
* Same pathkeys and outer rels, and fuzzily
* the same cost, so keep just one; to decide