PostgreSQL 17.5, 16.9, 15.13, 14.18, and 13.21 Released! The PostgreSQL Global Development Group has released an update to all supported versions of PostgreSQL, including 17.5, 16.9, 15.13, 14.18, and 13.21. This release fixes 1 security vulnerability and over 60 bugs reported over the last several months. Security: 78b8e808-2c45-11f0-9a65-6cc21735f730 Release notes: https://www.postgresql.org/about/news/postgresql-175-169-1513-1418-and-1321-released-3072/
24 lines
482 B
Bash
24 lines
482 B
Bash
#! /bin/sh
|
|
|
|
PATH=/bin:/usr/bin:/usr/sbin
|
|
|
|
backupwarning() {
|
|
cat <<EOF
|
|
|
|
=========== BACKUP YOUR DATA! =============
|
|
As always, backup your data before
|
|
upgrading. If the upgrade leads to a higher
|
|
major revision (e.g. 9.6 -> 10), a dump
|
|
and restore of all databases is
|
|
required. This is *NOT* done by the port!
|
|
See https://www.postgresql.org/docs/current/upgrading.html
|
|
===========================================
|
|
EOF
|
|
}
|
|
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
backupwarning
|
|
;;
|
|
esac
|