aboutsummaryrefslogtreecommitdiffstats
path: root/main/postgresql/postgresql-contrib.post-upgrade
blob: c6a8825d9025656e19caff054f55db828e6b5fa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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