Added direct access to pg conn