summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila2021-01-19 02:40:13 +0000
committerAmit Kapila2021-01-19 02:40:13 +0000
commited43677e20369040ca4e50c698010c39d5ac0f47 (patch)
treef338b3342338d7a5531df74b7a9d6ec01cc09355
parent9e7dbe3369cd8f5b0136c53b817471002505f934 (diff)
pgindent worker.c.
This is a leftover from commit 0926e96c49. 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
-rw-r--r--src/backend/replication/logical/worker.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/replication/logical/worker.c b/src/backend/replication/logical/worker.c
index f2b2549a515..eb7db89cef7 100644
--- a/src/backend/replication/logical/worker.c
+++ b/src/backend/replication/logical/worker.c
@@ -225,7 +225,7 @@ static void maybe_reread_subscription(void);
static void apply_dispatch(StringInfo s);
static void apply_handle_commit_internal(StringInfo s,
- LogicalRepCommitData* commit_data);
+ LogicalRepCommitData *commit_data);
static void apply_handle_insert_internal(ResultRelInfo *relinfo,
EState *estate, TupleTableSlot *remoteslot);
static void apply_handle_update_internal(ResultRelInfo *relinfo,
@@ -752,10 +752,10 @@ apply_handle_stream_start(StringInfo s)
/*
* Start a transaction on stream start, this transaction will be committed
- * on the stream stop unless it is a tablesync worker in which case it will
- * be committed after processing all the messages. We need the transaction
- * for handling the buffile, used for serializing the streaming data and
- * subxact info.
+ * on the stream stop unless it is a tablesync worker in which case it
+ * will be committed after processing all the messages. We need the
+ * transaction for handling the buffile, used for serializing the
+ * streaming data and subxact info.
*/
ensure_transaction();
@@ -1060,7 +1060,7 @@ apply_handle_stream_commit(StringInfo s)
* Helper function for apply_handle_commit and apply_handle_stream_commit.
*/
static void
-apply_handle_commit_internal(StringInfo s, LogicalRepCommitData* commit_data)
+apply_handle_commit_internal(StringInfo s, LogicalRepCommitData *commit_data)
{
/* The synchronization worker runs in single transaction. */
if (IsTransactionState() && !am_tablesync_worker())