mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user