dummy relation in partitionwise join

From: Zhihong Yu <zyu(at)yugabyte(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>
Subject: dummy relation in partitionwise join
Date: 2021-10-28 15:44:50
Message-ID: CALNJ-vRfjm0FD2=NhB9BDgk1S3FAkQ1DEbdcPjMy-KwPB0PqYA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,
I was looking at:

commit 475dbd0b718de8ac44da144f934651b959e3b705
Author: David Rowley <drowley(at)postgresql(dot)org>
Date: Tue Aug 3 11:47:24 2021 +1200

Track a Bitmapset of non-pruned partitions in RelOptInfo

I noticed that the dummy relation is skipped in the loop
over rel->live_parts.
I wonder if the following change is sensible.

Thanks

Attachment Content-Type Size
skip-adding-dummy.patch application/octet-stream 730 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gilles Darold 2021-10-28 15:55:24 Re: [PATCH] Proposal for HIDDEN/INVISIBLE column
Previous Message Robert Haas 2021-10-28 15:39:52 ThisTimeLineID is used uninitialized in basebackup.c, too