mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Use elog to report unexpected action in handle_streamed_transaction().
An oversight in commit 216a784829.
Author: Masahiko Sawada
Reviewed-by: Kyotaro Horiguchi, Amit Kapila
Discussion: https://postgr.es/m/CAD21AoDDbM8_HJt-nMCvcjTK8K9hPzXWqJj7pyaUvR4mm_NrSg@mail.gmail.com
This commit is contained in:
parent
19e65dff38
commit
781ac42d43
1 changed files with 1 additions and 1 deletions
|
|
@ -658,7 +658,7 @@ handle_streamed_transaction(LogicalRepMsgType action, StringInfo s)
|
|||
return false;
|
||||
|
||||
default:
|
||||
Assert(false);
|
||||
elog(ERROR, "unexpected apply action: %d", (int) apply_action);
|
||||
return false; /* silence compiler warning */
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue