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

Use SELECT FOR UPDATE on PostgreSQL RMW ops #3103

Merged
merged 1 commit into from
May 24, 2022

Conversation

azdagron
Copy link
Member

This is required to successfully perform read-modify-write operations
when PostgreSQL is in hot standby mode.

Fixes: #3039

This is required to successfully perform read-modify-write operations
when PostgreSQL is in hot standby mode.

Fixes: spiffe#3039

Signed-off-by: Andrew Harding <aharding@vmware.com>
@azdagron azdagron added this to the 1.3.1 milestone May 24, 2022
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

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

Thanks @azdagron!

@azdagron azdagron merged commit 2d9eb69 into spiffe:main May 24, 2022
@azdagron azdagron deleted the use-select-for-update-on-postgresql branch May 24, 2022 22:06
stevend-uber pushed a commit to stevend-uber/spire that referenced this pull request Oct 16, 2023
This is required to successfully perform read-modify-write operations
when PostgreSQL is in hot standby mode.

Fixes: spiffe#3039

Signed-off-by: Andrew Harding <aharding@vmware.com>
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.

"SELECT FOR UPDATE" is needed for PostgreSQL
2 participants