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

Commite251e78

Browse files
committed
Remove redundant check for fast_forward.
We already checked for it earlier in the function.Reviewed-by: Andres FreundDiscussion:https://www.postgresql.org/message-id/1ba2899e-77f8-7866-79e5-f3b7d1251a3e@iki.fi
1 parenta0dd4c9 commite251e78

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/replication/logical/decode.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,7 @@ heap2_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
422422
switch (info)
423423
{
424424
caseXLOG_HEAP2_MULTI_INSERT:
425-
if (!ctx->fast_forward&&
426-
SnapBuildProcessChange(builder,xid,buf->origptr))
425+
if (SnapBuildProcessChange(builder,xid,buf->origptr))
427426
DecodeMultiInsert(ctx,buf);
428427
break;
429428
caseXLOG_HEAP2_NEW_CID:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp