mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Use elog to report unexpected action in handle_streamed_transaction().
An oversight in commit 216a784829c. 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
@ -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…
x
Reference in New Issue
Block a user