#pragma once

#include <maps/libs/pgpool/include/pgpool3.h>
#include <atomic>
#include <memory>

namespace maps::wiki::json2ymapsdf::isocode {

void propagateGeometry(
    pgpool3::Pool& pool,
    const std::string& schemaName,
    size_t threads,
    const std::shared_ptr<std::atomic<bool>>& fail);

} // namespace maps::wiki::json2ymapsdf::isocode
