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

update resource datastore_active with a single statement #7833

Merged
merged 6 commits into from Oct 2, 2023

Conversation

wardi
Copy link
Contributor

@wardi wardi commented Sep 25, 2023

Fixes #7832

Proposed fixes:

use postgresql 10.x+ jsonb_set to update resource datastore_active in a single statement

Features:

  • includes tests covering changes
  • includes updated documentation
  • includes user-visible changes
  • includes API changes
  • includes bugfix for possible backport

@smotornyuk smotornyuk merged commit 4f49a9d into master Oct 2, 2023
8 checks passed
@smotornyuk smotornyuk deleted the 7832-fast-datastore-active branch October 2, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

set datastore active slow (unsafe?) resource update
2 participants