aboutsummarylogtreecommitdiffstats
path: root/postgresql.install
blob: 4cf5eca285fa57cb4366adfb4a1604456b376a59 (plain)
1
2
3
4
5
6
7
post_upgrade() {
  # Prints the warning message if the database version on disk
  # does not match the PostgreSQL major version.
  if [ -d /var/lib/postgres/data14 ]; then
	/opt/postgresql14/bin/postgresql-check-db-dir /var/lib/postgres/data || true
  fi
}