Merge lp:~therve/storm/postgres-repeatable-read into lp:storm
Proposed by
Thomas Herve
Status: | Merged |
---|---|
Merged at revision: | 442 |
Proposed branch: | lp:~therve/storm/postgres-repeatable-read |
Merge into: | lp:storm |
Diff against target: |
79 lines (+25/-7) 3 files modified
NEWS (+5/-0) storm/databases/postgres.py (+7/-3) tests/databases/postgres.py (+13/-4) |
To merge this branch: | bzr merge lp:~therve/storm/postgres-repeatable-read |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Approve | ||
Jamu Kakar (community) | Approve | ||
Review via email: mp+99967@code.launchpad.net |
Description of the change
The branch adds support for the 2 others serialization level in the URI, and it switches to repeatable read by default for Postgres 9. See http://
The tests is fairly ugly, but I didn't any better idea...
To post a comment you must log in.
This looks good to me, +1! One thought is that you could have some repeatable- read' in your
surprised if you manually specify 'isolation=
connection string and then subsequently connect to a version of
PostgreSQL you don't expect. I'm not really sure what we can do about
that though, so probably just need to be clear in our documentation
about what each isolation level means for different versions of
PostgreSQL.