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

Fix broken major upgrade logic #70

Merged
merged 3 commits into from
Aug 14, 2023
Merged

Commits on Aug 11, 2023

  1. When performing a major version upgrade, find the current package dir…

    … that matches the major postgres version being upgraded from.
    
    If no package dir exists, because they are making a large upgrade jump, print an error and exit.
    jpalermo committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    16014c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. If a VERSION file does not exist in the data director, but existing d…

    …ata directories exist,
    
    print an error and exit.
    
    We no longer have the postgres 9 packages to be able to upgrade from these versions. Users will
    have to upgrade to an older first first.
    jpalermo committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    ae5bc41 View commit details
    Browse the repository at this point in the history
  2. Additional fixes for postgres 15 bump

    - The changes from tust to peer and md5 are a better security posture, but they break a lot of existing use cases
      and should probably instead be gated behind some sort of configuration flag. Co-located bbr relies upon passwordless
      connection to the database as vcap user, but runs a root. Many of the acceptance tests also try using the vcap user
      but run as root via ssh and fail with the changes.
    - Postgres 15 no longer grants users access to the public schema. This prevents generated users from being able to create
      tables. Update the create_databases function to grant access to the public schema for each role on each database.
    jpalermo committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    2bb0bd6 View commit details
    Browse the repository at this point in the history