Skip to content

Commit 797adaf

Browse files
committed
Format better code for xact_decode()'s XLOG_XACT_INVALIDATIONS
This makes the code more consistent with the surroundings. Author: ChangAo Chen Reviewed-by: Ashutosh Bapat Discussion: https://postgr.es/m/CAExHW5tNTevUh58SKddTtcX3yU_5_PDSC8Mdp-Q2hc9PpZHRJg@mail.gmail.com
1 parent 00d819d commit 797adaf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/replication/logical/decode.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,12 +301,13 @@ xact_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
301301
ReorderBufferXidSetCatalogChanges(ctx->reorder, xid,
302302
buf->origptr);
303303
}
304-
else if ((!ctx->fast_forward))
304+
else if (!ctx->fast_forward)
305305
ReorderBufferImmediateInvalidation(ctx->reorder,
306306
invals->nmsgs,
307307
invals->msgs);
308+
309+
break;
308310
}
309-
break;
310311
case XLOG_XACT_PREPARE:
311312
{
312313
xl_xact_parsed_prepare parsed;

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