0001-Format-the-code-in-xact_decode.patch
application/octet-stream
Filename: 0001-Format-the-code-in-xact_decode.patch
Type: application/octet-stream
Part: 0
Message:
Format the code in xact_decode
Patch
Format: format-patch
Series: patch 0001
Subject: Format the code in xact_decode.
| File | + | − |
|---|---|---|
| src/backend/replication/logical/decode.c | 3 | 2 |
From 39c414da4bfa4f595b5f23b1a24eb746d910fe3a Mon Sep 17 00:00:00 2001
From: ChangAo Chen <cca5507@qq.com>
Date: Sun, 9 Jun 2024 17:16:56 +0800
Subject: [PATCH] Format the code in xact_decode.
---
src/backend/replication/logical/decode.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c
index 8ec5adfd90..d687ceee33 100644
--- a/src/backend/replication/logical/decode.c
+++ b/src/backend/replication/logical/decode.c
@@ -301,12 +301,13 @@ xact_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
ReorderBufferXidSetCatalogChanges(ctx->reorder, xid,
buf->origptr);
}
- else if ((!ctx->fast_forward))
+ else if (!ctx->fast_forward)
ReorderBufferImmediateInvalidation(ctx->reorder,
invals->nmsgs,
invals->msgs);
+
+ break;
}
- break;
case XLOG_XACT_PREPARE:
{
xl_xact_parsed_prepare parsed;
--
2.34.1