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

Updated statement to enable/disable DB connections #1010

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

sadiqkhoja
Copy link
Contributor

@sadiqkhoja sadiqkhoja commented Sep 28, 2023

Change:

Replace the statement to disable/enable connections. RDS doesn't allow to update pg_database catalog. Following links suggest right way to turnoff DB connection is to ALTER DATABASE:

https://stackoverflow.com/a/43888064/3633589
https://dba.stackexchange.com/questions/202685/postgresql-cannot-update-pg-database

What has been done to verify that this works as intended?

Verified on dev (AWS) and test (DO) instances

Before submitting this PR, please make sure you have:

  • run make test-full and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@sadiqkhoja sadiqkhoja merged commit 6f7750b into getodk:master Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ done
Development

Successfully merging this pull request may close these issues.

2 participants