docs: PostgreSQL major upgrade for RHDH Local - #278
Conversation
PR Summary by QodoDocs: Align optional Compose Postgres to PG18 and document major upgrades
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
d056cca to
44d73ef
Compare
|
/hold until we have |
@zdrapela #282 has been merged and I've created the |
44d73ef to
8ffe4de
Compare
|
Retargeted from |
|
/unhold |
|
Code review by qodo was updated up to the latest commit 8ffe4de |
Align the optional Postgres example with rhel10/postgresql-18 and document POSTGRESQL_UPGRADE=copy for users already on rhel8/postgresql-16.
Restore the app-config.local.yaml SQLite step, put a single podman/docker swap note before commands, and reduce bold emphasis.
Document .env POSTGRES_PASSWORD for compose substitution, reorder collation before clearing POSTGRESQL_UPGRADE, and warn that the old quay dist path breaks install-dynamic-plugins on RHDH 1.10+.
Rely on the guide note to set POSTGRES_PASSWORD in .env.
Describe the POSTGRESQL_UPGRADE=copy flow for any supported major hop instead of hard-coding 16 to 18.
8ffe4de to
8438bdd
Compare
Warn before major image swaps on existing volumes, use POSTGRES_USER in psql examples, clarify .env overrides vs default.env, and spell out podman/docker compose down --volumes in the volume-deletion warnings.
|
Addressed the Qodo review findings in
Restacked #276 onto this tip so the overlay PR stays intact. |
Use an explicit {#upgrading-postgresql} so the in-page warning link
resolves under TechDocs/MkDocs as well as GitHub.
GitHub auto-anchors ## Upgrading PostgreSQL to #upgrading-postgresql;
{#id} is not GFM and can break the in-page warning link on GitHub.
|
|
@rm3l I fixed issues that Qodo flagged and the PR stack should be ready to review |



Description
Align RHDH Local's optional Compose Postgres with the PG18 direction from RHIDP-13956:
dbimage example toregistry.redhat.io/rhel10/postgresql-18POSTGRESQL_UPGRADE=copyTracked by RHIDP-15765 (child of RHIDP-13956). Related product docs work remains RHIDP-14594 (chart/operator); this PR is RHDH Local only. Procedure inspired by rhdh#5139.
Replacement for closed #275 (recreated from an in-repo branch so it can participate in a GitHub stack with #276).
Which issue(s) does this PR fix or relate to
PR acceptance criteria
How to test changes / Special notes to the reviewer
Locally verified end-to-end:
dbonrhel8/postgresql-16, seed proof data, bring up RHDH (:1.10) → HTTP 200rhel10/postgresql-18withPOSTGRESQL_UPGRADE=copy(same volume)SHOW server_version16.x → 18.x and proof data survives (Upgrade Completein db logs)POSTGRESQL_UPGRADE;--force-recreate dbMade with Cursor