{"action":"created","issue":{"url":"https://api.github.com/repos/TJC/Test-postgresql/issues/31","repository_url":"https://api.github.com/repos/TJC/Test-postgresql","labels_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/31/comments","events_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/31/events","html_url":"https://github.com/TJC/Test-postgresql/pull/31","id":318423673,"number":31,"title":"Make POSTGRES_HOME override PATH.","user":{"login":"wdh","id":119474,"avatar_url":"https://avatars2.githubusercontent.com/u/119474?v=4","gravatar_id":"","url":"https://api.github.com/users/wdh","html_url":"https://github.com/wdh","followers_url":"https://api.github.com/users/wdh/followers","following_url":"https://api.github.com/users/wdh/following{/other_user}","gists_url":"https://api.github.com/users/wdh/gists{/gist_id}","starred_url":"https://api.github.com/users/wdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdh/subscriptions","organizations_url":"https://api.github.com/users/wdh/orgs","repos_url":"https://api.github.com/users/wdh/repos","events_url":"https://api.github.com/users/wdh/events{/privacy}","received_events_url":"https://api.github.com/users/wdh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-27T14:08:53Z","updated_at":"2018-05-02T05:10:06Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/TJC/Test-postgresql/pulls/31","html_url":"https://github.com/TJC/Test-postgresql/pull/31","diff_url":"https://github.com/TJC/Test-postgresql/pull/31.diff","patch_url":"https://github.com/TJC/Test-postgresql/pull/31.patch"},"body":"At present POSTGRES_HOME is ineffective if a Postgres is found in PATH. This makes POSTGRES_HOME take precedence so PATH can always be overridden."},"comment":{"url":"https://api.github.com/repos/TJC/Test-postgresql/issues/comments/385866492","html_url":"https://github.com/TJC/Test-postgresql/pull/31#issuecomment-385866492","issue_url":"https://api.github.com/repos/TJC/Test-postgresql/issues/31","id":385866492,"user":{"login":"TJC","id":43905,"avatar_url":"https://avatars2.githubusercontent.com/u/43905?v=4","gravatar_id":"","url":"https://api.github.com/users/TJC","html_url":"https://github.com/TJC","followers_url":"https://api.github.com/users/TJC/followers","following_url":"https://api.github.com/users/TJC/following{/other_user}","gists_url":"https://api.github.com/users/TJC/gists{/gist_id}","starred_url":"https://api.github.com/users/TJC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TJC/subscriptions","organizations_url":"https://api.github.com/users/TJC/orgs","repos_url":"https://api.github.com/users/TJC/repos","events_url":"https://api.github.com/users/TJC/events{/privacy}","received_events_url":"https://api.github.com/users/TJC/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T05:10:06Z","updated_at":"2018-05-02T05:10:06Z","author_association":"OWNER","body":"The PR here does more than just make `POSTGRES_HOME` have higher precedence -- it also makes the various `@base_paths` take precedence over $PATH too. That might cause surprising behaviour.\r\n\r\nI wonder if it would make sense to bring things together, by getting rid of File::Which, and setting up all the paths in `_search_paths()`.\r\n\r\nThat way we can maintain current precedence rules, apart from moving POSTGRES_HOME to the front.\r\n\r\nie. `_search_paths()` would return something like:\r\n`[ @ENV_POSTGRES_HOME, @ENV_PATH, @base_paths ]`\r\n"}}
{"actor":{"display_login":"TJC"}}