dummy relation in partitionwise join - Mailing list pgsql-hackers

From Zhihong Yu
Subject dummy relation in partitionwise join
Date
Msg-id CALNJ-vRfjm0FD2=NhB9BDgk1S3FAkQ1DEbdcPjMy-KwPB0PqYA@mail.gmail.com
Whole thread Raw
Responses Re: dummy relation in partitionwise join  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
Hi,
I was looking at:

commit 475dbd0b718de8ac44da144f934651b959e3b705
Author: David Rowley <drowley@postgresql.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

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: ThisTimeLineID is used uninitialized in basebackup.c, too
Next
From: Gilles Darold
Date:
Subject: Re: [PATCH] Proposal for HIDDEN/INVISIBLE column