Skip to content

Commit ed43677

Browse files
author
Amit Kapila
committed
pgindent worker.c.
This is a leftover from commit 0926e96. Changing this separately because this file is being modified for upcoming patch logical replication of 2PC. Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Ps+EgG8KzcmAyAgBUi_vuTps6o9ZA8DG6SdnO0-YuOhPQ@mail.gmail.com
1 parent 9e7dbe3 commit ed43677

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/backend/replication/logical/worker.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ static void maybe_reread_subscription(void);
225225
static void apply_dispatch(StringInfo s);
226226

227227
static void apply_handle_commit_internal(StringInfo s,
228-
LogicalRepCommitData* commit_data);
228+
LogicalRepCommitData *commit_data);
229229
static void apply_handle_insert_internal(ResultRelInfo *relinfo,
230230
EState *estate, TupleTableSlot *remoteslot);
231231
static void apply_handle_update_internal(ResultRelInfo *relinfo,
@@ -752,10 +752,10 @@ apply_handle_stream_start(StringInfo s)
752752

753753
/*
754754
* Start a transaction on stream start, this transaction will be committed
755-
* on the stream stop unless it is a tablesync worker in which case it will
756-
* be committed after processing all the messages. We need the transaction
757-
* for handling the buffile, used for serializing the streaming data and
758-
* subxact info.
755+
* on the stream stop unless it is a tablesync worker in which case it
756+
* will be committed after processing all the messages. We need the
757+
* transaction for handling the buffile, used for serializing the
758+
* streaming data and subxact info.
759759
*/
760760
ensure_transaction();
761761

@@ -1060,7 +1060,7 @@ apply_handle_stream_commit(StringInfo s)
10601060
* Helper function for apply_handle_commit and apply_handle_stream_commit.
10611061
*/
10621062
static void
1063-
apply_handle_commit_internal(StringInfo s, LogicalRepCommitData* commit_data)
1063+
apply_handle_commit_internal(StringInfo s, LogicalRepCommitData *commit_data)
10641064
{
10651065
/* The synchronization worker runs in single transaction. */
10661066
if (IsTransactionState() && !am_tablesync_worker())

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy