Re: [HACKERS] Adding support for Default partition in partitioning - Mailing list pgsql-hackers

From Jeevan Ladhe
Subject Re: [HACKERS] Adding support for Default partition in partitioning
Date
Msg-id CAOgcT0ONgwajdtkoq+AuYkdTPY9cLWWLjxt_k4SXue3eieAr+g@mail.gmail.com
Whole thread Raw
In response to [HACKERS] Adding support for Default partition in partitioning  (Rahila Syed <rahilasyed90@gmail.com>)
Responses Re: [HACKERS] Adding support for Default partition in partitioning  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Hi,

I have merged the default partition for range[1] patches in attached V26
series  of patches.

Here are how the patches now look like:

0001:
This patch refactors RelationBuildPartitionDesc(), basically this is patch
0001 of default range partition[1].

0002:
This patch teaches the partitioning code to handle the NIL returned by
get_qual_for_list().
This is needed because a default partition will not have any constraints in case
it is the only partition of its parent.

0003:
Support for default partition with the restriction of preventing addition of any
new partition after default partition. This patch now has support for both
default partition for list and range.

0004:
Extend default partitioning support to allow addition of new partitions after
default partition is created/attached. This patch is a merge of patches
0005 and 0006 in V24 series to simplify the review process. The
commit message has more details regarding what all is included.

0005:
This patch introduces code to check if the scanning of default partition child
can be skipped if it's constraints are proven.

0006:
Documentation.


Regards,
Jeevan Ladhe

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: [HACKERS] Parallel Hash take II
Next
From: Greg Stark
Date:
Subject: Re: [HACKERS] generated columns