sql {
    driver = "rlm_sql_postgresql"
    dialect = "postgresql"

    server = "postgres"
    port = 5432
    login = "radius"
    password = "radius"
    radius_db = "radius"

    pool {
        start = 2
        min = 1
        max = 5
        spare = 1
        uses = 0
        lifetime = 0
        cleanup_interval = 30
    }

    # Leave default queries location
    # queries = ${modconfdir}/sql/main/${dialect}/queries.conf

    read_clients = no

    # We only use per-user tables; disable group processing to avoid extra schema
    read_groups = no
}
