#!/bin/sh

ver_new="$1"
ver_old="$2"

if [ "$(apk version -t "$ver_old" "9.6.7-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-9-6-7.html.
	*
	EOF
fi

exit 0
