From b334612b8aee9f9a34378982d8938b201dfad323 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 20 Jun 2023 09:50:43 -0400 Subject: Pre-beta2 mechanical code beautification. Run pgindent and pgperltidy. It seems we're still some ways away from all committers doing this automatically. Now that we have a buildfarm animal that will whine about poorly-indented code, we'll try to keep the tree more tidy. Discussion: https://postgr.es/m/3156045.1687208823@sss.pgh.pa.us --- src/backend/replication/logical/tablesync.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backend/replication/logical/tablesync.c') diff --git a/src/backend/replication/logical/tablesync.c b/src/backend/replication/logical/tablesync.c index db10a446b3d..6d461654ab4 100644 --- a/src/backend/replication/logical/tablesync.c +++ b/src/backend/replication/logical/tablesync.c @@ -1253,7 +1253,7 @@ LogicalRepSyncTableStart(XLogRecPtr *origin_startpos) WalRcvExecResult *res; char originname[NAMEDATALEN]; RepOriginId originid; - UserContext ucxt; + UserContext ucxt; bool must_use_password; bool run_as_owner; @@ -1437,8 +1437,8 @@ LogicalRepSyncTableStart(XLogRecPtr *origin_startpos) } /* - * Make sure that the copy command runs as the table owner, unless - * the user has opted out of that behaviour. + * Make sure that the copy command runs as the table owner, unless the + * user has opted out of that behaviour. */ run_as_owner = MySubscription->runasowner; if (!run_as_owner) @@ -1482,7 +1482,7 @@ LogicalRepSyncTableStart(XLogRecPtr *origin_startpos) res->err))); walrcv_clear_result(res); - if(!run_as_owner) + if (!run_as_owner) RestoreUserContext(&ucxt); table_close(rel, NoLock); -- cgit v1.2.3