Skip to content

Commit 5e07f76

Browse files
authored
build: pg_cron can only be run on metwork database (#321)
1 parent 6277e2f commit 5e07f76

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

adm/_create_plugin_database.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ EOF
9090
batch_psql "/tmp/extension.partman" "Creating pg_partman extension" "plugin_${NAME}" "metwork" || exit 1
9191
rm -f "/tmp/extension.partman"
9292
fi
93-
if test "${MFBASE_POSTGRESQL_PG_CRON}" = "1"; then
94-
cat >/tmp/extension.pg_cron <<EOF
95-
CREATE EXTENSION pg_cron;
96-
EOF
97-
batch_psql "/tmp/extension.pg_cron" "Creating pg_cron extension" "plugin_${NAME}" "metwork" || exit 1
98-
rm -f "/tmp/extension.pg_cron"
99-
fi
10093

10194

10295
_fix_plugin_owner.py "plugin_${NAME}" "plugin_${NAME}" >/dev/null

0 commit comments

Comments
 (0)