From 577445d8ff5e0ea89ccaf09fd5b82165a0875afe Mon Sep 17 00:00:00 2001
From: Julio Lajara <ju2wheels@gmail.com>
Date: Thu, 1 Sep 2016 01:04:38 -0400
Subject: [PATCH] Add CentOS/RHEL postgesql home directory blob to search
patterns.
---
src/testing/postgresql.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/testing/postgresql.py b/src/testing/postgresql.py
index 948fc3c..d4ea0d2 100644
--- a/src/testing/postgresql.py
+++ b/src/testing/postgresql.py
@@ -28,6 +28,7 @@
__all__ = ['Postgresql', 'skipIfNotFound']
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