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

Commit781ac42

Browse files
Use elog to report unexpected action in handle_streamed_transaction().
An oversight in commit216a784.Author: Masahiko SawadaReviewed-by: Kyotaro Horiguchi, Amit KapilaDiscussion:https://postgr.es/m/CAD21AoDDbM8_HJt-nMCvcjTK8K9hPzXWqJj7pyaUvR4mm_NrSg@mail.gmail.com
1 parent19e65df commit781ac42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ handle_streamed_transaction(LogicalRepMsgType action, StringInfo s)
658658
return false;
659659

660660
default:
661-
Assert(false);
661+
elog(ERROR,"unexpected apply action: %d", (int)apply_action);
662662
return false;/* silence compiler warning */
663663
}
664664
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp