Here: https://github.com/ClickHouse/clickhouse-cpp/blob/master/clickhouse/client.cpp#L593-L613 Enought to overload the function We can also support passing extra parameters, and maybe check if some other changes added in recent versions should be supported. https://github.com/ClickHouse/ClickHouse/blob/68bc456830ae95fd73823943c4568dd9c59135f8/src/Client/Connection.cpp#L480 https://github.com/ClickHouse/ClickHouse/blob/dbf50910168191f4e00243647a7ba1e21ab89c6a/src/Interpreters/ClientInfo.h