pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove quick path in ExecInitPartitionInfo for equal tupdescs
Date: Thu, 19 Apr 2018 19:47:20 +0000
Message-ID: <E1f9FWa-0004D3-Hq@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1f9FWa-0004D3-Hq@gemulon.postgresql.org>
Permalink:  ../E1f9FWa-0004D3-Hq@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f9FWa-0004D3-Hq@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Remove quick path in ExecInitPartitionInfo for equal tupdescs
  In-Reply-To: <E1f9FWa-0004D3-Hq@gemulon.postgresql.org>
  References: <E1f9FWa-0004D3-Hq@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox