leapp-repository/0051-Update-postgresqlcheck.py.patch
Petr Stodulka 492997f630 IPU 8.10 -> 9.6: CTC2 build candidate 1
- Fix pes events scanner crashing when there are duplicate packages in the received instructions
- Fix pes events scanner not respecting user’s transaction configuration
- Fix storage scanner crashing when command outputs contain colon character
- Activate LVM VGs with `--sysinit` option to correct the use in the upgrade initramfs
- Minor improvements in preupgrade reports
- Resolves: RHEL-67621, RHEL-34570, RHEL-44596, RHEL-50076
2025-01-17 15:58:36 +01:00

29 lines
1.4 KiB
Diff

From fb4131a6c05e26060ab8b49a39a64047d9f2b691 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20Janu=C5=A1?= <fjanus@redhat.com>
Date: Thu, 21 Nov 2024 11:30:56 +0100
Subject: [PATCH 51/53] Update postgresqlcheck.py
Improve the report to clarify the upgrade path for already upgraded PostgreSQL
---
.../actors/postgresqlcheck/libraries/postgresqlcheck.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/repos/system_upgrade/el8toel9/actors/postgresqlcheck/libraries/postgresqlcheck.py b/repos/system_upgrade/el8toel9/actors/postgresqlcheck/libraries/postgresqlcheck.py
index 42519aaf..68997ef4 100644
--- a/repos/system_upgrade/el8toel9/actors/postgresqlcheck/libraries/postgresqlcheck.py
+++ b/repos/system_upgrade/el8toel9/actors/postgresqlcheck/libraries/postgresqlcheck.py
@@ -7,8 +7,9 @@ from leapp.models import DistributionSignedRPM
report_server_inst_summary = (
'PostgreSQL server component will be upgraded. Since RHEL-9 includes'
' PostgreSQL server 13 by default, which is incompatible with 9.6, 10 and 12'
- ' included in RHEL-8, it is necessary to proceed with additional steps'
+ ' included in RHEL-8, in those cases, it is necessary to proceed with additional steps'
' for the complete upgrade of the PostgreSQL data.'
+ 'If the database has already been upgraded, then no further actions are required.'
)
report_server_inst_hint = (
--
2.47.1