fix: also load pg_cron when timescale is enabled (#404)

pull/407/head
Benoit Orihuela 2023-01-09 08:30:03 +01:00 zatwierdzone przez GitHub
rodzic 6675b77ed7
commit b3fbc460e9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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