diff options
author | Tom Lane | 2020-05-14 17:06:38 +0000 |
---|---|---|
committer | Tom Lane | 2020-05-14 17:06:50 +0000 |
commit | 5cbfce562f7cd2aab0cdc4694ce298ec3567930e (patch) | |
tree | 64e722d72fc5f1803cb6f6371d6cf12863e2812f /src/backend/replication/pgoutput/pgoutput.c | |
parent | 1255466f8358ecac29581aa5ecec76628dc2e33c (diff) |
Initial pgindent and pgperltidy run for v13.
Includes some manual cleanup of places that pgindent messed up,
most of which weren't per project style anyway.
Notably, it seems some people didn't absorb the style rules of
commit c9d297751, because there were a bunch of new occurrences
of function calls with a newline just after the left paren, all
with faulty expectations about how the rest of the call would get
indented.
Diffstat (limited to 'src/backend/replication/pgoutput/pgoutput.c')
-rw-r--r-- | src/backend/replication/pgoutput/pgoutput.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/backend/replication/pgoutput/pgoutput.c b/src/backend/replication/pgoutput/pgoutput.c index 77b85fc6557..15379e31181 100644 --- a/src/backend/replication/pgoutput/pgoutput.c +++ b/src/backend/replication/pgoutput/pgoutput.c @@ -692,7 +692,7 @@ get_rel_sync_entry(PGOutputData *data, Oid relid) if (!publish) { - bool ancestor_published = false; + bool ancestor_published = false; /* * For a partition, check if any of the ancestors are @@ -702,13 +702,16 @@ get_rel_sync_entry(PGOutputData *data, Oid relid) */ if (am_partition) { - List *ancestors = get_partition_ancestors(relid); - ListCell *lc2; + List *ancestors = get_partition_ancestors(relid); + ListCell *lc2; - /* Find the "topmost" ancestor that is in this publication. */ + /* + * Find the "topmost" ancestor that is in this + * publication. + */ foreach(lc2, ancestors) { - Oid ancestor = lfirst_oid(lc2); + Oid ancestor = lfirst_oid(lc2); if (list_member_oid(GetRelationPublications(ancestor), pub->oid)) |