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

Commitd5ed9da

Browse files
committed
Call ReorderBufferProcessXid from sequence_decode
Commit0da92dc added sequence_decode() implementing logical decodingof sequences, but it failed to call ReorderBufferProcessXid() as itshould. So add the missing call.Reported-by: Amit KapilaDiscussion:https://postgr.es/m/CAA4eK1KGn6cQqJEsubOOENwQOANsExiV2sKL52r4U10J8NJEMQ%40mail.gmail.com
1 parent25751f5 commitd5ed9da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1321,6 +1321,8 @@ sequence_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf)
13211321
if (info!=XLOG_SEQ_LOG)
13221322
elog(ERROR,"unexpected RM_SEQ_ID record type: %u",info);
13231323

1324+
ReorderBufferProcessXid(ctx->reorder,XLogRecGetXid(r),buf->origptr);
1325+
13241326
/*
13251327
* If we don't have snapshot or we are just fast-forwarding, there is no
13261328
* point in decoding messages.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp