Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Automatically update TimescaleDB version after restore #26

Merged
merged 1 commit into from
Nov 18, 2020

Conversation

davidkohn88
Copy link
Contributor

Adds a flag and the ability to update to the latest default version
after a restore. The default version is the one that is chosen when
you run ALTER EXTENSION timescaledb UPDATE; without a version flag.

Adds a flag and the ability to update to the latest default version
after a restore. The default version is the one that is chosen when
you run `ALTER EXTENSION timescaledb UPDATE;` without a version flag.
Copy link

@JLockerman JLockerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable but

  1. are you sure you want to upgrade by default?
  2. are you sure you want to upgrade major versions by default?

@davidkohn88
Copy link
Contributor Author

a) yes, it's what Mike's asked for, and
b) it only updates to the default version, if you don't want it to upgrade set the flag to false or don't install a later version you don't want it to update to...

@davidkohn88 davidkohn88 merged commit d7299e5 into master Nov 18, 2020
@davidkohn88
Copy link
Contributor Author

fixes #11

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

Successfully merging this pull request may close these issues.

2 participants