Merge pull request #48098 from kssenii/materialized-pg-small-fix

materialized pg small fix
This commit is contained in:
robot-ch-test-poll3 2023-03-28 19:13:10 +02:00 committed by GitHub
commit 19c73afda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,7 +417,15 @@ void PostgreSQLReplicationHandler::consumerFunc()
{
assertInitialized();
bool schedule_now = getConsumer()->consume();
bool schedule_now = true;
try
{
schedule_now = getConsumer()->consume();
}
catch (...)
{
tryLogCurrentException(__PRETTY_FUNCTION__);
}
if (stop_synchronization)
{