diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-06-30 18:31:10 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-06-30 18:31:10 +0300 |
commit | e251e780bfe62168d0edfec459ebdc66b991753f (patch) | |
tree | c258b31799438776d38494ff3ca340c8be87ec59 /src/backend/replication/logical/decode.c | |
parent | a0dd4c95b9dfb9ed679ff8aa6a3beab98969034f (diff) | |
download | postgresql-e251e780bfe62168d0edfec459ebdc66b991753f.tar.gz postgresql-e251e780bfe62168d0edfec459ebdc66b991753f.zip |
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
Diffstat (limited to 'src/backend/replication/logical/decode.c')
-rw-r--r-- | src/backend/replication/logical/decode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c index d91055a4409..7039d425e26 100644 --- a/src/backend/replication/logical/decode.c +++ b/src/backend/replication/logical/decode.c @@ -422,8 +422,7 @@ heap2_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf) switch (info) { case XLOG_HEAP2_MULTI_INSERT: - if (!ctx->fast_forward && - SnapBuildProcessChange(builder, xid, buf->origptr)) + if (SnapBuildProcessChange(builder, xid, buf->origptr)) DecodeMultiInsert(ctx, buf); break; case XLOG_HEAP2_NEW_CID: |