mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03: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:
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user