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

db/dcrpg: enforce a min required postgres version #1880

Merged
merged 1 commit into from Dec 6, 2021

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Dec 4, 2021

This adds a PostgreSQL version check to NewChainDB, which will return an error if the postgres service in use indicates a version less than the required minimum version defined by the new pgVerNumMin const.

This enforces the requirement already documented in README.md.

This adds a PostgreSQL version check to NewChainDB, which will return an
error if the postgres service in use indicates a version less than the
required minimum version defined by the new pgVerNumMin const.

This enforces the requirement already documented in README.md.
@chappjc chappjc merged commit 451260e into decred:master Dec 6, 2021
@chappjc
Copy link
Member Author

chappjc commented Dec 6, 2021

@victorgcramos With this on master, when you get a chance, see if the one machine trips this or if the INCLUDE syntax error is due something else.

@chappjc chappjc deleted the min-pg-ver-check branch December 6, 2021 14:49
@victorgcramos
Copy link
Member

@chappjc okay 👌🏼

@chappjc chappjc added this to the 6.1 milestone Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants