leapp-repository/SOURCES/0051-Update-postgresqlcheck.py.patch
eabdullin 1377bbc817 Import from CS git
(cherry picked from commit c60931c8ff)
2025-01-23 12:06:22 +02: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