mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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
This commit is contained in:
@ -422,8 +422,7 @@ heap2_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
|
|||||||
switch (info)
|
switch (info)
|
||||||
{
|
{
|
||||||
case XLOG_HEAP2_MULTI_INSERT:
|
case XLOG_HEAP2_MULTI_INSERT:
|
||||||
if (!ctx->fast_forward &&
|
if (SnapBuildProcessChange(builder, xid, buf->origptr))
|
||||||
SnapBuildProcessChange(builder, xid, buf->origptr))
|
|
||||||
DecodeMultiInsert(ctx, buf);
|
DecodeMultiInsert(ctx, buf);
|
||||||
break;
|
break;
|
||||||
case XLOG_HEAP2_NEW_CID:
|
case XLOG_HEAP2_NEW_CID:
|
||||||
|
Reference in New Issue
Block a user