1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

pgindent run prior to branching v12.

pgperltidy and reformat-dat-files too, though the latter didn't
find anything to change.
This commit is contained in:
Tom Lane
2019-07-01 12:37:52 -04:00
parent 145b18688c
commit 9e1c9f9594
15 changed files with 32 additions and 30 deletions

View File

@ -1237,13 +1237,14 @@ check_default_partition_contents(Relation parent, Relation default_rel,
: get_qual_for_range(parent, new_spec, false);
def_part_constraints =
get_proposed_default_constraint(new_part_constraints);
/*
* Map the Vars in the constraint expression from parent's attnos to
* default_rel's.
*/
def_part_constraints =
map_partition_varattnos(def_part_constraints, 1, default_rel,
parent, NULL);
map_partition_varattnos(def_part_constraints, 1, default_rel,
parent, NULL);
/*
* If the existing constraints on the default partition imply that it will