diff --git a/misc/tools.func b/misc/tools.func index 9c62c7ee..f1f05d6e 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -7176,7 +7176,7 @@ function setup_postgresql_db() { IFS=',' read -ra EXT_LIST <<<"${PG_DB_EXTENSIONS:-}" for ext in "${EXT_LIST[@]}"; do ext=$(echo "$ext" | xargs) # Trim whitespace - $STD sudo -u postgres psql -d "$PG_DB_NAME" -c "CREATE EXTENSION IF NOT EXISTS $ext;" + $STD sudo -u postgres psql -d "$PG_DB_NAME" -c "CREATE EXTENSION IF NOT EXISTS \"$ext\";" done fi