diff --git a/setup.sh b/setup.sh
index 08cd0778ef8c24fc3bc116557b17aab37182e112..6c11e728774d474bfa7cf3d2e9950394f222940c 100644
--- a/setup.sh
+++ b/setup.sh
@@ -52,7 +52,8 @@ prependPathIfDirExists() {
     fi
 }
 
-# Setup epics variables
+# Setup path and other variables
+PATH=$DM_SUPPORT_DIR/postgresql/$DM_HOST_ARCH/bin:$PATH
 PATH=$DM_ROOT_DIR/bin:$PATH
 PATH=.:$PATH
 export PATH