Re: BUG #18568: BUG: Result wrong when do group by on partition table! - Mailing list pgsql-bugs

From Tender Wang
Subject Re: BUG #18568: BUG: Result wrong when do group by on partition table!
Date
Msg-id CAHewXNkJusO0T1fWbWUN7-DV97bFExOnqSK1VuHx77rCL6d4UQ@mail.gmail.com
Whole thread Raw
In response to 回复: BUG #18568: BUG: Result wrong when do group by on partition table!  ("狂奔的蜗牛" <1105066510@qq.com>)
List pgsql-bugs


狂奔的蜗牛 <1105066510@qq.com> 于2024年8月6日周二 19:33写道:
Partkey's collation stored in RelOptInfo->part_scheme, and I use it to fix the bug.
The attachment is my solution!

I look through your patch. Some code is not native for PG. For example:

if (nodeTag(groupexpr) == T_RelabelType)

usually, we use IsA() func.

--
Tender Wang

pgsql-bugs by date:

Previous
From: Tender Wang
Date:
Subject: Re: BUG #18568: BUG: Result wrong when do group by on partition table!
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #18570: Drop event trigger for DDL finishes successfully but trigger still executed on DDL