| Summary: | Broken upgrade 'postgresql-setup --upgrade --upgrade-from=postgresql92-postgresql' | |||
|---|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Pavel Raiskup <praiskup> | |
| Component: | rh-postgresql95 | Assignee: | Pavel Raiskup <praiskup> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | qe-baseos-daemons | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | rh-postgresql95 | CC: | bgollahe, databases-maint, hhorak, jorton, kanderso, pkajaba, pkubat, praiskup, tkasparek | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | 3.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1452734 (view as bug list) | Environment: | ||
| Last Closed: | 2018-02-14 17:00:42 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1452734 | |||
Reported by tkasparek, thanks. |
There is a C&P typo in spec file causing that '9.4' config overwrites correctly written '9.2' config file. Solution should be: diff --git a/postgresql.spec b/postgresql.spec index 8c03e81..a6dd4e2 100644 --- a/postgresql.spec +++ b/postgresql.spec @@ -630,7 +630,7 @@ redhat_sockets_hack yes pghost_override /tmp EOF -cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/postgresql92.conf <<EOF +cat > $RPM_BUILD_ROOT%{_sysconfdir}/postgresql-setup/upgrade/rh-postgresql94.conf <<EOF id rh-postgresql94-postgresql major 9.4 data_default /var/opt/rh/rh-postgresql94/lib/pgsql/data