Re: list partition constraint shape - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: list partition constraint shape
Date
Msg-id 5A6EBBF2.5040304@lab.ntt.co.jp
Whole thread Raw
In response to Re: list partition constraint shape  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: list partition constraint shape
List pgsql-hackers
(2018/01/29 9:50), Amit Langote wrote:
> On 2018/01/26 21:31, Etsuro Fujita wrote:
>> Attached is a modified
>> version of the patch.  What do you think about that?  Please let me know.
>> If that is okay, I'll mark this as Ready for Committer.
>
> That looks good, thanks.

Cool!  One thing I noticed to revise the patch a bit further is to add 
an assertion to make_partition_op_expr that the number of the right-hand 
inputs to generate an operator expression from for list-partitioning 
should be >=1; in that case we call that function if there is at least 
one non-null partition value as the right-hand input, so that should be 
asserted successfully there.  I think the assertion is a good thing, so 
I modified the patch.  Updated patch attached.  Because I made no 
changes other than that, I'll make this as Ready for Committer.

Best regards,
Etsuro Fujita

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Boolean partitions syntax
Next
From: Etsuro Fujita
Date:
Subject: Re: Reorder C includes in partition.c