minor change for create_list_bounds() - Mailing list pgsql-hackers

From Zhihong Yu
Subject minor change for create_list_bounds()
Date
Msg-id CALNJ-vQbZR0pYxz9zQ5bqXVcwtGgNgVupeEpNT65HZ+yWZnc4g@mail.gmail.com
Whole thread Raw
Responses Re: minor change for create_list_bounds()  (Nathan Bossart <nathandbossart@gmail.com>)
List pgsql-hackers
Hi,
I was looking at commit db632fbca and noticed that, in create_list_bounds(), if index is added to boundinfo->interleaved_parts in the first if statement, there is no need to perform the second check involving call to partition_bound_accepts_nulls().

Here is a short patch.

Cheers
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Time to drop plpython2?
Next
From: Nathan Bossart
Date:
Subject: Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file