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

Fix reading from read-only databases with recent versions of postmodern #1238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

p12tic
Copy link

@p12tic p12tic commented Nov 30, 2020

Currently copying from read-only databases breaks with recent-enough version of the postmodern library.

marijnh/Postmodern#163 changes the default transaction syntax from BEGIN to BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED READ WRITE (which corresponds to read-committed-rw in postmodern). This PR changes the isolation level to read-committed-ro for read operations.

@p12tic p12tic changed the title Perform read operations with read-only transaction isolation Fix reading from read-only databases with recent versions of postmodern Nov 30, 2020
@mcg
Copy link

mcg commented May 12, 2023

Running into this issue with a ReadOnly RDS standby instance. Any other workaround for this?

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.

2 participants