summarylogtreecommitdiffstats
path: root/postgresql.install
blob: c46a58d5f83d4804bcbc28fa1c2f3df2bbbd55fb (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/data ]; then
	/usr/bin/postgresql-check-db-dir /var/lib/postgres/data || true
  fi
}