Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e251e78

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

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
case XLOG_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
case XLOG_HEAP2_NEW_CID:

0 commit comments

Comments
 (0)