summaryrefslogtreecommitdiffstats
path: root/postgresql-ctl.in
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-ctl.in')
-rw-r--r--postgresql-ctl.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/postgresql-ctl.in b/postgresql-ctl.in
index 546ffba..ad18004 100644
--- a/postgresql-ctl.in
+++ b/postgresql-ctl.in
@@ -17,6 +17,11 @@
@SCL_SOURCE@
+# Help users to run postgresql server extensions built against specific
+# software collection (that said, such collection is runtime dependancy of
+# such extension, not the server itself).
+test -n "$PGSCLS" && source scl_source enable $PGSCLS
+
port=()
if test "$1" = "start" && test -n "$PGPORT"; then
port=(-o "-p $PGPORT")