Database connection.
Definition: postgresql.h:241
Precompiled queries to manipulate the lev_tr table.
Definition: postgresql/levtr.h:20
const LevTrEntry * lookup_id(Tracer<> &trc, int id) override
Look up a LevTr from the database given its ID.
void prefetch_ids(Tracer<> &trc, const std::set< int > &ids) override
Given a set of IDs, load LevTr information for them and add it to the cache.
int obtain_id(Tracer<> &trc, const LevTrEntry &desc) override
Look up a LevTr from the database given its description.