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
|
@ -658,7 +658,7 @@ handle_streamed_transaction(LogicalRepMsgType action, StringInfo s)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Assert(false);
|
elog(ERROR, "unexpected apply action: %d", (int) apply_action);
|
||||||
return false; /* silence compiler warning */
|
return false; /* silence compiler warning */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue