Hi,I have worked further on V21 patch set, rebased it on latest master commit,addressed the comments given by Robert, Ashutosh and others.The attached tar has a series of 7 patches.Here is a brief of these 7 patches:0001:Refactoring existing ATExecAttachPartition code so that it can be used fordefault partitioning as well0002:This patch teaches the partitioning code to handle the NIL returned byget_qual_for_list().This is needed because a default partition will not have any constraints in caseit is the only partition of its parent.0003:Support for default partition with the restriction of preventing addition of anynew partition after default partition.0004:Store the default partition OID in pg_partition_table, this will help us toretrieve the OID of default relation when we don't have the relation cacheavailable. This was also suggested by Amit Langote here[1].0005:Extend default partitioning support to allow addition of new partitions.0006:Extend default partitioning validation code to reuse the refactored code inpatch 0001. 0007:This patch introduces code to check if the scanning of default partition childcan be skipped if it's constraints are proven.TODO:Add documentation.
Merge default range partitioning patch.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных