INNER CODE UNIT · C
auth_db
pgbouncer/pgbouncer · src/client.c:46
auth_db = client->db;
} else {
auth_db = find_or_register_database(client, auth_dbname);
}
if (!auth_db) {
slog_error(client, "authentication database \"%s\" is not configured.", auth_dbname);
disconnect_client(client, true, "bouncer config error");
return NULL;
}
if (auth_db->db_disabled) {
disconnect_client(
client,
true,
"authentication database \"%s\" is disabled",
auth_dbname);
return NULL;