mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Merge pull request #48098 from kssenii/materialized-pg-small-fix
materialized pg small fix
This commit is contained in:
commit
19c73afda4
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user