Configure graph for postgres locks