> On Mar 26, 2020, at 01:00, Tom Lane wrote:
>
> Guancheng Luo writes:
>> I found that things could go wrong in some cases, when the unique index and
>> the partition key use different opclass.
>
> I agree that this is an oversight, but it seems like your soluti
So the unique index should not be allowed to create, since ‘-1’ and ‘1’ will be
put in different partition.
The attached patch should fix this problem.
0001-Check-operator-when-creating-UNIQUE-index-on-PARTITI.patch
Description: Binary data
Best Regards,
Guancheng Luo