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

Add script to upgrade the DB from v0.0.X to v0.0.Y and run all the tests #178

Closed
Ngalstyan4 opened this issue Sep 25, 2023 · 2 comments · Fixed by #193
Closed

Add script to upgrade the DB from v0.0.X to v0.0.Y and run all the tests #178

Ngalstyan4 opened this issue Sep 25, 2023 · 2 comments · Fixed by #193
Assignees
Labels

Comments

@Ngalstyan4
Copy link
Contributor

Once the script is ready, we can add it to ci/cd to run for all supported minor version upgrades and ensure that upgrade scripts work properly

@Ngalstyan4 Ngalstyan4 self-assigned this Sep 25, 2023
@PratikDevlekar
Copy link

Hey @Ngalstyan4 ,

I’m willing to work on this thread, Please let me know if you have made any progress regarding this issue.

There are two approaches for addressing the upgrade. The first involves creating a manual upgrading script, while the second entails utilizing the pg_upgrade utility. Personally, I believe that using the utility is a more efficient option to pursue.

@Ngalstyan4
Copy link
Contributor Author

Hi @PratikDevlekar,
Thanks for expressing interest!

pg_upgrade is for upgrading from one major version of postgres to another 1. This issue is about extension upgrades (minor and major) and not postgres major version upgrades2. Hope this clarifies the issue.

Footnotes

  1. https://www.postgresql.org/docs/current/pgupgrade.html

  2. https://www.postgresql.org/docs/current/sql-alterextension.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants