mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Update src/Storages/StoragePostgreSQL.cpp
Co-authored-by: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com>
This commit is contained in:
parent
01c8b2f71e
commit
c774458f96
@ -435,7 +435,7 @@ StoragePostgreSQLConfiguration StoragePostgreSQL::getConfiguration(ASTs engine_a
|
||||
if (engine_args.size() >= 7)
|
||||
configuration.on_conflict = engine_args[6]->as<ASTLiteral &>().value.safeGet<String>();
|
||||
}
|
||||
for (auto address : configuration.addresses)
|
||||
for (const auto & address : configuration.addresses)
|
||||
context->getRemoteHostFilter().checkHostAndPort(address.first, toString(address.second));
|
||||
|
||||
return configuration;
|
||||
|
Loading…
Reference in New Issue
Block a user