Re: expanding inheritance in partition bound order
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>, Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2017-08-17T02:22:13Z
Lists: pgsql-hackers
On Wed, Aug 16, 2017 at 10:12 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> wrote: >> In the catalogs we are using full "partitioned" e.g. pg_partitioned_table. May >> be we should name the column as "inhchildpartitioned". > > Sure. I suggest inhpartitioned or inhispartition. inhchildpartitioned seems too long. > There are a bunch of callers of find_all_inheritors() and > find_inheritance_children. Changes to make them all declare a pointless > variable seemed off to me. The conditional in question doesn't seem to be > that expensive. +1. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
-
Make RelationGetPartitionDispatchInfo expand depth-first.
- 77b6b5e9ceca 11.0 landed
-
Expand partitioned tables in PartDesc order.
- 30833ba154e0 11.0 landed
-
Don't lock tables in RelationGetPartitionDispatchInfo.
- 7c0ca2900f7c 10.0 landed
- 54cde0c4c058 11.0 landed
-
Speed up dropping tables with many partitions.
- c1e0e7e1d790 10.0 cited