aboutsummaryrefslogtreecommitdiffstats
path: root/testing/postgresql-pg_cron/postgresql-pg_cron.post-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2020-02-23 22:02:42 +0100
committerJakub Jirutka <jakub@jirutka.cz>2020-02-23 22:09:17 +0100
commit1ca4d10dfbc7a53226bd21b04f8de0c706db6446 (patch)
tree38807f0096492de36ba9376dbef986179532bf28 /testing/postgresql-pg_cron/postgresql-pg_cron.post-install
parentb5f94dfb7c7c81dc8903c10f2d11cc4a57209569 (diff)
downloadaports-1ca4d10dfbc7a53226bd21b04f8de0c706db6446.tar.bz2
aports-1ca4d10dfbc7a53226bd21b04f8de0c706db6446.tar.xz
testing/pg_cron: rename to postgresql-pg_cron
It's a PostgreSQL extension, there's a convention to prefix their pkgname with postgresql-.
Diffstat (limited to 'testing/postgresql-pg_cron/postgresql-pg_cron.post-install')
-rw-r--r--testing/postgresql-pg_cron/postgresql-pg_cron.post-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/postgresql-pg_cron/postgresql-pg_cron.post-install b/testing/postgresql-pg_cron/postgresql-pg_cron.post-install
new file mode 100644
index 0000000000..b8e13ba49f
--- /dev/null
+++ b/testing/postgresql-pg_cron/postgresql-pg_cron.post-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+cat <<EOF
+*
+* Add the following line to postgresql.conf and restart PostgreSQL:
+* shared_preload_libraries = 'pg_cron'
+*
+EOF
+
+exit 0