From b3fbc460e9c8d13c6ef8fdcbb9d713929b4d2b5b Mon Sep 17 00:00:00 2001 From: Benoit Orihuela Date: Mon, 9 Jan 2023 08:30:03 +0100 Subject: [PATCH] fix: also load pg_cron when timescale is enabled (#404) --- scripts/env-data.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/env-data.sh b/scripts/env-data.sh index 2cd60da..5fb654a 100644 --- a/scripts/env-data.sh +++ b/scripts/env-data.sh @@ -329,7 +329,7 @@ fi if [ -z "${SHARED_PRELOAD_LIBRARIES}" ]; then if [[ $(dpkg -l | grep "timescaledb") > /dev/null ]];then - SHARED_PRELOAD_LIBRARIES='timescaledb' + SHARED_PRELOAD_LIBRARIES='pg_cron,timescaledb' else SHARED_PRELOAD_LIBRARIES='pg_cron' fi