From c3781ecd58c4da6e10d2011bd28adb80cc14a755 Mon Sep 17 00:00:00 2001 From: Polina Bungina <27892524+hughcapet@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:52:23 +0100 Subject: [PATCH] Don't try to build pg_mon for DEMO build (#983) --- postgres-appliance/build_scripts/base.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postgres-appliance/build_scripts/base.sh b/postgres-appliance/build_scripts/base.sh index 308f066c8..43ff533f7 100644 --- a/postgres-appliance/build_scripts/base.sh +++ b/postgres-appliance/build_scripts/base.sh @@ -153,7 +153,7 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do EXTRA_EXTENSIONS=() if [ "$DEMO" != "true" ]; then - EXTRA_EXTENSIONS+=("plprofiler") + EXTRA_EXTENSIONS+=("plprofiler" "pg_mon-${PG_MON_COMMIT}") fi for n in bg_mon-${BG_MON_COMMIT} \ @@ -161,7 +161,6 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do set_user \ pg_permissions-${PG_PERMISSIONS_COMMIT} \ pg_profile-${PG_PROFILE} \ - pg_mon-${PG_MON_COMMIT} \ "${EXTRA_EXTENSIONS[@]}"; do make -C "$n" USE_PGXS=1 clean install-strip done