aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-09-05 15:39:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-09-05 15:39:47 +0000
commitc88f7d8c51dec2f116d679af95c2440744162ada (patch)
treeb5170b17ddf8e04964acc3125a201be00980cfd2 /main
parentf03e1b0595d78b5320eaa0ceceb6c6b6e1930039 (diff)
downloadaports-c88f7d8c51dec2f116d679af95c2440744162ada.tar.bz2
aports-c88f7d8c51dec2f116d679af95c2440744162ada.tar.xz
main/postgresql: rebuild against perl 5.30
Diffstat (limited to 'main')
-rw-r--r--main/postgresql/APKBUILD2
-rw-r--r--main/postgresql/postgresql-contrib.post-upgrade16
2 files changed, 17 insertions, 1 deletions
diff --git a/main/postgresql/APKBUILD b/main/postgresql/APKBUILD
index 1af759caa1..d0ac211b74 100644
--- a/main/postgresql/APKBUILD
+++ b/main/postgresql/APKBUILD
@@ -3,7 +3,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql
pkgver=11.5
-pkgrel=1
+pkgrel=2
pkgdesc="A sophisticated object-relational DBMS"
url="https://www.postgresql.org/"
arch="all"
diff --git a/main/postgresql/postgresql-contrib.post-upgrade b/main/postgresql/postgresql-contrib.post-upgrade
new file mode 100644
index 0000000000..c6a8825d90
--- /dev/null
+++ b/main/postgresql/postgresql-contrib.post-upgrade
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+ver_new="$1"
+ver_old="$2"
+
+if [ "$(apk version -t "$ver_old" "10.2-r0")" = "<" ]; then
+ cat >&2 <<-EOF
+ *
+ * If you use contrib/cube's cube ~> int operator, you have to reindex/refresh
+ * all expression indexes and materialized views using this operator.
+ * Read https://www.postgresql.org/docs/10/static/release-10-2.html.
+ *
+ EOF
+fi
+
+exit 0