leapp-repository/0051-Update-postgresqlcheck.py.patch
Petr Stodulka 8bdb7909b8 IPU 9.6-10.0: CTC 2 candidate 1
- Obsolete RHEL9 GPG key signed with SHA1
- Activate LVM VGs with `--sysinit` option to correct the use in the upgrade initramfs
- Fix output of commands executed inside systemd-nspawn containers
- 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 remediation instructions for deprecated NM configuration
- Fix storage scanner crashing when command outputs contain colon character
- Minor improvements in preupgrade reports
- Resolves: RHEL-57043, RHEL-31428, RHEL-33373, RHEL-69829, RHEL-71517
2025-01-17 16:33:37 +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