diff options
Diffstat (limited to 'src/include/catalog/partition.h')
-rw-r--r-- | src/include/catalog/partition.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/include/catalog/partition.h b/src/include/catalog/partition.h index 5685d2fd579..d84e3259835 100644 --- a/src/include/catalog/partition.h +++ b/src/include/catalog/partition.h @@ -19,20 +19,6 @@ /* Seed for the extended hash function */ #define HASH_PARTITION_SEED UINT64CONST(0x7A5B22367996DCFD) -/* - * Information about partitions of a partitioned table. - */ -typedef struct PartitionDescData -{ - int nparts; /* Number of partitions */ - Oid *oids; /* Array of 'nparts' elements containing - * partition OIDs in order of the their bounds */ - bool *is_leaf; /* Array of 'nparts' elements storing whether - * the corresponding 'oids' element belongs to - * a leaf partition or not */ - PartitionBoundInfo boundinfo; /* collection of partition bounds */ -} PartitionDescData; - extern Oid get_partition_parent(Oid relid); extern List *get_partition_ancestors(Oid relid); extern List *map_partition_varattnos(List *expr, int fromrel_varno, @@ -41,7 +27,6 @@ extern List *map_partition_varattnos(List *expr, int fromrel_varno, extern bool has_partition_attrs(Relation rel, Bitmapset *attnums, bool *used_in_expr); -extern Oid get_default_oid_from_partdesc(PartitionDesc partdesc); extern Oid get_default_partition_oid(Oid parentId); extern void update_default_partition_oid(Oid parentId, Oid defaultPartId); extern List *get_proposed_default_constraint(List *new_part_constaints); |