{"action":"opened","issue":{"url":"https://api.github.com/repos/TJC/Test-postgresql/issues/16","repository_url":"https://api.github.com/repos/TJC/Test-postgresql","labels_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/16/comments","events_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/16/events","html_url":"https://github.com/TJC/Test-postgresql/issues/16","id":133431081,"number":16,"title":"Test::PostgreSQL doesn't work out of the box as root any more","user":{"login":"colinnewell","id":68324,"avatar_url":"https://avatars.githubusercontent.com/u/68324?v=3","gravatar_id":"","url":"https://api.github.com/users/colinnewell","html_url":"https://github.com/colinnewell","followers_url":"https://api.github.com/users/colinnewell/followers","following_url":"https://api.github.com/users/colinnewell/following{/other_user}","gists_url":"https://api.github.com/users/colinnewell/gists{/gist_id}","starred_url":"https://api.github.com/users/colinnewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinnewell/subscriptions","organizations_url":"https://api.github.com/users/colinnewell/orgs","repos_url":"https://api.github.com/users/colinnewell/repos","events_url":"https://api.github.com/users/colinnewell/events{/privacy}","received_events_url":"https://api.github.com/users/colinnewell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-13T13:20:19Z","updated_at":"2016-02-13T13:20:19Z","closed_at":null,"body":"The releases this year don't appear to work when run as root.  pg_ctl doesn't seem to like being run directly as root.  If I set pg_ctl to '' when initialising Test::PostgreSQL it does work as it used to.\r\n\r\n```\r\nt/00-base.t .......... ok   \r\nt/01-raii.t .......... pg_ctl: cannot be run as root\r\nPlease log in (using, e.g., \"su\") as the (unprivileged) user that will\r\nown the server process.\r\nt/01-raii.t .......... skipped: /usr/lib/postgresql/9.4/bin/pg_ctl init -s -D /tmp/pgtest.L08S5/data -o -U postgres -A trust  failed:256 at /root/.cpanm/work/1455369474.1300/Test-PostgreSQL-1.20/blib/lib/Test/PostgreSQL.pm line 451.\r\nt/02-multi.t ......... pg_ctl: cannot be run as root\r\nPlease log in (using, e.g., \"su\") as the (unprivileged) user that will\r\nown the server process.\r\nt/02-multi.t ......... skipped: /usr/lib/postgresql/9.4/bin/pg_ctl init -s -D /tmp/pgtest.TdkqV/data -o -U postgres -A trust  failed:256 at /root/.cpanm/work/1455369474.1300/Test-PostgreSQL-1.20/blib/lib/Test/PostgreSQL.pm line 451.\r\nt/04-multiprocess.t .. pg_ctl: cannot be run as root\r\nPlease log in (using, e.g., \"su\") as the (unprivileged) user that will\r\nown the server process.\r\nt/04-multiprocess.t .. skipped: /usr/lib/postgresql/9.4/bin/pg_ctl init -s -D /tmp/pgtest.qu9me/data -o -U postgres -A trust  failed:256 at /root/.cpanm/work/1455369474.1300/Test-PostgreSQL-1.20/blib/lib/Test/PostgreSQL.pm line 451.\r\nt/deadlock.t ......... pg_ctl: cannot be run as root\r\nPlease log in (using, e.g., \"su\") as the (unprivileged) user that will\r\nown the server process.\r\nt/deadlock.t ......... skipped: /usr/lib/postgresql/9.4/bin/pg_ctl init -s -D /tmp/pgtest.tY50R/data -o -U postgres -A trust  failed:256 at /root/.cpanm/work/1455369474.1300/Test-PostgreSQL-1.20/blib/lib/Test/PostgreSQL.pm line 451.\r\n\r\n```"}}