pgloader
pgloader copied to clipboard
Fix reading from read-only databases with recent versions of postmodern
Currently copying from read-only databases breaks with recent-enough version of the postmodern library.
https://github.com/marijnh/Postmodern/pull/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.
Running into this issue with a ReadOnly RDS standby instance. Any other workaround for this?