Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit797adaf

Browse files
committed
Format better code for xact_decode()'s XLOG_XACT_INVALIDATIONS
This makes the code more consistent with the surroundings.Author: ChangAo ChenReviewed-by: Ashutosh BapatDiscussion:https://postgr.es/m/CAExHW5tNTevUh58SKddTtcX3yU_5_PDSC8Mdp-Q2hc9PpZHRJg@mail.gmail.com
1 parent00d819d commit797adaf

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-
elseif ((!ctx->fast_forward))
304+
elseif (!ctx->fast_forward)
305305
ReorderBufferImmediateInvalidation(ctx->reorder,
306306
invals->nmsgs,
307307
invals->msgs);
308+
309+
break;
308310
}
309-
break;
310311
caseXLOG_XACT_PREPARE:
311312
{
312313
xl_xact_parsed_prepareparsed;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp