mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. This set of diffs is a bit larger than typical. We've updated to pg_bsd_indent 2.1.2, which properly indents variable declarations that have multi-line initialization expressions (the continuation lines are now indented one tab stop). We've also updated to perltidy version 20230309 and changed some of its settings, which reduces its desire to add whitespace to lines to make assignments etc. line up. Going forward, that should make for fewer random-seeming changes to existing code. Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
This commit is contained in:
@@ -2340,9 +2340,9 @@ merge_default_partitions(PartitionMap *outer_map,
|
||||
/*
|
||||
* The default partitions have to be joined with each other, so merge
|
||||
* them. Note that each of the default partitions isn't merged yet
|
||||
* (see, process_outer_partition()/process_inner_partition()), so
|
||||
* they should be merged successfully. The merged partition will act
|
||||
* as the default partition of the join relation.
|
||||
* (see, process_outer_partition()/process_inner_partition()), so they
|
||||
* should be merged successfully. The merged partition will act as
|
||||
* the default partition of the join relation.
|
||||
*/
|
||||
Assert(outer_merged_index == -1);
|
||||
Assert(inner_merged_index == -1);
|
||||
@@ -3193,7 +3193,7 @@ check_new_partition_bound(char *relname, Relation parent,
|
||||
* datums list.
|
||||
*/
|
||||
PartitionRangeDatum *datum =
|
||||
list_nth(spec->upperdatums, abs(cmpval) - 1);
|
||||
list_nth(spec->upperdatums, abs(cmpval) - 1);
|
||||
|
||||
/*
|
||||
* The new partition overlaps with the
|
||||
|
||||
Reference in New Issue
Block a user