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:
Masahiko Sawada 2023-04-24 15:37:14 +09:00
parent 19e65dff38
commit 781ac42d43
1 changed files with 1 additions and 1 deletions

View File

@ -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 */
}
}