Re: Out of date comment in cached_plan_cost

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Out of date comment in cached_plan_cost
Дата
Msg-id CA+TgmoaTO-3cbZubasG86o2AooDSqs0iyagQqbUFzxbQFxDrYg@mail.gmail.com
обсуждение исходный текст
Ответ на Out of date comment in cached_plan_cost  (David Rowley <david.rowley@2ndquadrant.com>)
Ответы Re: Out of date comment in cached_plan_cost  (David Rowley <david.rowley@2ndquadrant.com>)
Список pgsql-hackers
On Thu, Dec 7, 2017 at 3:14 AM, David Rowley
<david.rowley@2ndquadrant.com> wrote:
> I just noticed a comment which has been made a little outdated by the
> partition-wise join code from commit f49842d1. The comment claims that
> inheritance children don't add to the effort required in join
> planning, while that still may be true, we should probably mention
> that partitioned tables may be a more complex case.
>
> The attached is my attempt at putting this right.

I don't feel entirely right about the way this seems to treat
inheritance and partitioning as two entirely separate features; that's
true from a user perspective, more or less, but not internally to the
code.

Of course, this also begs the question of whether we ought to be
changing the formula somehow.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Moving relation extension locks out of heavyweight lock manager
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: Speeding up pg_upgrade