pgsql: Remove quick path in ExecInitPartitionInfo for equal tupdescs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Remove quick path in ExecInitPartitionInfo for equal tupdescs
Дата
Msg-id E1f9FWa-0004D3-Hq@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove quick path in ExecInitPartitionInfo for equal tupdescs

I added this "optimization" on top of Amit Langote's 158b7bc6d779, but
the quick path is never taken because the partition uses a different
pg_type oid than its parent table (causing equalTupleDescs to return
false).  Changing that requires more analysis and is too considered
dangerous at this point in the cycle, so revert it.

We might make it work someday, but not for pg11.

Discussion: https://postgr.es/m/825031be-942c-8c24-6163-13c27f217a3d@lab.ntt.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/79b2e52615faa768d8436c1795e445541460e9d2

Modified Files
--------------
src/backend/executor/execPartition.c | 153 ++++++++++++++++-------------------
1 file changed, 68 insertions(+), 85 deletions(-)


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Plural of modulus is moduli
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix incorrect handling of join clauses pushed intoparameterized