Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Postgres 10 -> 15 upgrade with 9.4 db dir #2450

Merged
merged 1 commit into from
Jun 21, 2023

Commits on Jun 20, 2023

  1. Fixes Postgres 10 -> 15 upgrade with 9.4 db dir

    This commit
    * Fixes the upgrade case where a customer upgraded from Postgres 9.4 to
      Postgres 10, and then chose to upgrade to Postgres 15. The previous
      logic expected that when a PG 9.4 directory was present, then a PG 10
      AND a PG 13 directory also HAD to be present, or else it would fail
      the pre-start script early.
      This commit corrects that logic.
    * Also refactors the logic that checks for older (and unsupported) PG
      versions, and also the logic that upgrades from supported PG versions
      to the latest version. Should we ever find ourselves needing to
      obsolete a version of Postgres, or add a new one, hopefully this
      rewrite will make modifying this script easier.
    
    [#185335638]
    
    Signed-off-by: Brian Upton <bupton@vmware.com>
    klakin-pivotal authored and ystros committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    a8f5c6d View commit details
    Browse the repository at this point in the history