FS#69211 - [postgresql] Warn about a required db upgrade in post_upgrade
Attached to Project:
Arch Linux
Opened by Dragoon Aethis (DragoonAethis) - Monday, 04 January 2021, 22:57 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 15 May 2021, 18:40 GMT
Opened by Dragoon Aethis (DragoonAethis) - Monday, 04 January 2021, 22:57 GMT
Last edited by Levente Polyak (anthraxx) - Saturday, 15 May 2021, 18:40 GMT
|
Details
Currently, whenever PostgreSQL is upgraded between major
versions, the database must be migrated using
postgresql-old-upgrade. Most users usually learn this the
hard way when the PostgreSQL service no longer starts after
a reboot - it would be nice to warn about the required
upgrade in post_upgrade, not in the failing service's
journal.
This concerns the postgresql package, PKGBUILD.patch + postgresql.install attached. |
This task depends upon
Closed by Levente Polyak (anthraxx)
Saturday, 15 May 2021, 18:40 GMT
Reason for closing: Implemented
Additional comments about closing: 13.3-1
Saturday, 15 May 2021, 18:40 GMT
Reason for closing: Implemented
Additional comments about closing: 13.3-1
I've changed the install script simply to "... || true"