pgsql: Remove quick path in ExecInitPartitionInfo for equal tupdescs - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: Remove quick path in ExecInitPartitionInfo for equal tupdescs
Date
Msg-id E1f9FWa-0004D3-Hq@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Plural of modulus is moduli
Next
From: Tom Lane
Date:
Subject: pgsql: Fix incorrect handling of join clauses pushed intoparameterized