mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Initial pgindent and pgperltidy run for v14.
Also "make reformat-dat-files". The only change worthy of note is that pgindent messed up the formatting of launcher.c's struct LogicalRepWorkerId, which led me to notice that that struct wasn't used at all anymore, so I just took it out.
This commit is contained in:
@@ -2876,7 +2876,10 @@ check_new_partition_bound(char *relname, Relation parent,
|
||||
{
|
||||
int prev_modulus;
|
||||
|
||||
/* We found the largest modulus less than or equal to ours. */
|
||||
/*
|
||||
* We found the largest modulus less than or equal to
|
||||
* ours.
|
||||
*/
|
||||
prev_modulus = DatumGetInt32(boundinfo->datums[offset][0]);
|
||||
|
||||
if (spec->modulus % prev_modulus != 0)
|
||||
@@ -3171,7 +3174,7 @@ check_default_partition_contents(Relation parent, Relation default_rel,
|
||||
{
|
||||
ereport(DEBUG1,
|
||||
(errmsg_internal("updated partition constraint for default partition \"%s\" is implied by existing constraints",
|
||||
RelationGetRelationName(default_rel))));
|
||||
RelationGetRelationName(default_rel))));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3222,7 +3225,7 @@ check_default_partition_contents(Relation parent, Relation default_rel,
|
||||
{
|
||||
ereport(DEBUG1,
|
||||
(errmsg_internal("updated partition constraint for default partition \"%s\" is implied by existing constraints",
|
||||
RelationGetRelationName(part_rel))));
|
||||
RelationGetRelationName(part_rel))));
|
||||
|
||||
table_close(part_rel, NoLock);
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user