From 40a5981ce14ab0c7135b4725277f9f290b7eb50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Lindel=C3=B6f?= Date: Wed, 3 Jan 2018 15:57:40 +0100 Subject: [PATCH] [ENDOR-718] fix search path when postgresql installed with Homebrew --- src/testing/postgresql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/testing/postgresql.py b/src/testing/postgresql.py index 4ac2fb1..1628993 100644 --- a/src/testing/postgresql.py +++ b/src/testing/postgresql.py @@ -30,8 +30,8 @@ SEARCH_PATHS = (['/usr/local/pgsql', '/usr/local'] + glob('/usr/pgsql-*') + # for CentOS/RHEL glob('/usr/lib/postgresql/*') + # for Debian/Ubuntu - glob('/opt/local/lib/postgresql*')) # for MacPorts - + glob('/opt/local/lib/postgresql*') + # for MacPorts + glob('/usr/local/opt/postgresql*')) # for Homebrew class Postgresql(Database): DEFAULT_SETTINGS = dict(auto_start=2,