mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Phase 2 pgindent run for v12.
Switch to 2.1 version of pg_bsd_indent. This formats multiline function declarations "correctly", that is with additional lines of parameter declarations indented to match where the first line's left parenthesis is. Discussion: https://postgr.es/m/CAEepm=0P3FeTXRcU5B2W3jv3PgRVZ-kGUXLGfd42FFhUROO3ug@mail.gmail.com
This commit is contained in:
@ -77,37 +77,37 @@ typedef struct PartitionBoundInfoData
|
||||
|
||||
extern int get_hash_partition_greatest_modulus(PartitionBoundInfo b);
|
||||
extern uint64 compute_partition_hash_value(int partnatts, FmgrInfo *partsupfunc,
|
||||
Oid *partcollation,
|
||||
Datum *values, bool *isnull);
|
||||
Oid *partcollation,
|
||||
Datum *values, bool *isnull);
|
||||
extern List *get_qual_from_partbound(Relation rel, Relation parent,
|
||||
PartitionBoundSpec *spec);
|
||||
PartitionBoundSpec *spec);
|
||||
extern PartitionBoundInfo partition_bounds_create(PartitionBoundSpec **boundspecs,
|
||||
int nparts, PartitionKey key, int **mapping);
|
||||
int nparts, PartitionKey key, int **mapping);
|
||||
extern bool partition_bounds_equal(int partnatts, int16 *parttyplen,
|
||||
bool *parttypbyval, PartitionBoundInfo b1,
|
||||
PartitionBoundInfo b2);
|
||||
bool *parttypbyval, PartitionBoundInfo b1,
|
||||
PartitionBoundInfo b2);
|
||||
extern PartitionBoundInfo partition_bounds_copy(PartitionBoundInfo src,
|
||||
PartitionKey key);
|
||||
PartitionKey key);
|
||||
extern bool partitions_are_ordered(PartitionBoundInfo boundinfo, int nparts);
|
||||
extern void check_new_partition_bound(char *relname, Relation parent,
|
||||
PartitionBoundSpec *spec);
|
||||
PartitionBoundSpec *spec);
|
||||
extern void check_default_partition_contents(Relation parent,
|
||||
Relation defaultRel,
|
||||
PartitionBoundSpec *new_spec);
|
||||
Relation defaultRel,
|
||||
PartitionBoundSpec *new_spec);
|
||||
|
||||
extern int32 partition_rbound_datum_cmp(FmgrInfo *partsupfunc,
|
||||
Oid *partcollation,
|
||||
Datum *rb_datums, PartitionRangeDatumKind *rb_kind,
|
||||
Datum *tuple_datums, int n_tuple_datums);
|
||||
extern int partition_list_bsearch(FmgrInfo *partsupfunc,
|
||||
Oid *partcollation,
|
||||
PartitionBoundInfo boundinfo,
|
||||
Datum value, bool *is_equal);
|
||||
extern int partition_range_datum_bsearch(FmgrInfo *partsupfunc,
|
||||
Oid *partcollation,
|
||||
PartitionBoundInfo boundinfo,
|
||||
int nvalues, Datum *values, bool *is_equal);
|
||||
extern int partition_hash_bsearch(PartitionBoundInfo boundinfo,
|
||||
int modulus, int remainder);
|
||||
Oid *partcollation,
|
||||
Datum *rb_datums, PartitionRangeDatumKind *rb_kind,
|
||||
Datum *tuple_datums, int n_tuple_datums);
|
||||
extern int partition_list_bsearch(FmgrInfo *partsupfunc,
|
||||
Oid *partcollation,
|
||||
PartitionBoundInfo boundinfo,
|
||||
Datum value, bool *is_equal);
|
||||
extern int partition_range_datum_bsearch(FmgrInfo *partsupfunc,
|
||||
Oid *partcollation,
|
||||
PartitionBoundInfo boundinfo,
|
||||
int nvalues, Datum *values, bool *is_equal);
|
||||
extern int partition_hash_bsearch(PartitionBoundInfo boundinfo,
|
||||
int modulus, int remainder);
|
||||
|
||||
#endif /* PARTBOUNDS_H */
|
||||
|
@ -38,6 +38,6 @@ extern void DestroyPartitionDirectory(PartitionDirectory pdir);
|
||||
extern Oid get_default_oid_from_partdesc(PartitionDesc partdesc);
|
||||
|
||||
extern bool equalPartitionDescs(PartitionKey key, PartitionDesc partdesc1,
|
||||
PartitionDesc partdesc2);
|
||||
PartitionDesc partdesc2);
|
||||
|
||||
#endif /* PARTCACHE_H */
|
||||
|
@ -69,12 +69,12 @@ typedef struct PartitionPruneContext
|
||||
((partnatts) * (step_id) + (keyno))
|
||||
|
||||
extern PartitionPruneInfo *make_partition_pruneinfo(struct PlannerInfo *root,
|
||||
struct RelOptInfo *parentrel,
|
||||
List *subpaths,
|
||||
List *partitioned_rels,
|
||||
List *prunequal);
|
||||
struct RelOptInfo *parentrel,
|
||||
List *subpaths,
|
||||
List *partitioned_rels,
|
||||
List *prunequal);
|
||||
extern Bitmapset *prune_append_rel_partitions(struct RelOptInfo *rel);
|
||||
extern Bitmapset *get_matching_partitions(PartitionPruneContext *context,
|
||||
List *pruning_steps);
|
||||
List *pruning_steps);
|
||||
|
||||
#endif /* PARTPRUNE_H */
|
||||
|
Reference in New Issue
Block a user