anchor.diff:              ["psql -p", PortStr, DbName, "<", Schema]
              ],
       ct:pal("~s", [run_cmds(CMDS)]),
  -    [{pg_port, Port}, {pg_data, PgData}, {pg_log, PgLog} | Config ].
  +    [{pg_port, Port}, {pg_data, PgData}, {pg_log, PgLog}, {pg_name, DbName} | Config ].
   
   stop_pg_db(Config) ->
       PgData = ?config(pg_data, Config),
       CMDS = [
  -            ["pg_ctl -D", PgData, "-m fast", "stop"]
  +            ["pg_ctl -D", PgData, "-m fast", "stop"],
  +            ["rm -rf", ?config(data_dir, Config)]
              ],
       run_cmds(CMDS).
   
  
positive.code:              {db_port, ?config(pg_port, Config)},
               {db_user, os:getenv("USER")},
               {db_pass, "sesame1-ignored"},
               {db_name, "testdb" },
               {idle_check, 10000},
               {prepared_statements, {oc_chef_authz_db, statements, [pgsql]}},
               {column_transforms,
  
negative.code:     Port.
  
  init_pg_db(Config) ->
      DataDir = ?config(data_dir, Config),
      DbName = "oc_chef_authz_itests",
      CommonDir = filename:join([DataDir, "../common"]),
      Schema = filename:join([CommonDir, "schema.sql"]),
      ECSchema = filename:join([CommonDir, "deps", "enterprise-chef-server-schema"]),
      OSCSchema = filename:join([ECSchema, "deps", "chef-server-schema"]),
  
      PgData = filename:join(DataDir, "pg_data"),
      PgLog = filename:join(DataDir, "pg.log"),
      Port = random_bogus_port(),
      PortStr = integer_to_list(Port),
      CMDS = [
              ["mkdir -p", DataDir],
              ["initdb -D", PgData],
              ["pg_ctl -D", PgData, "-l", PgLog, "-o \"-p", PortStr, "\" start"],
              %% db start is async, sleep? :(
  