Re: Corner case for add_path_precheck

Поиск
Список
Период
Сортировка
От Antonin Houska
Тема Re: Corner case for add_path_precheck
Дата
Msg-id 2728.1423693235@localhost
обсуждение исходный текст
Ответ на Re: Corner case for add_path_precheck  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Corner case for add_path_precheck  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Antonin Houska <ah@cybertec.at> 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 does, so I don't see your point?

Just that pre-check is - in this special (and very rare?) case - more
stringent than the proper check would be.

--
Antonin Houska
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt
Web: http://www.postgresql-support.de, http://www.cybertec.at



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: relid of non user created tables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Corner case for add_path_precheck