Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4f2b77d

Browse files
committed
Merge branch 'promote' of github.com:zilder/testgres into promote
2 parents 838a800 + 06d1005 commit 4f2b77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testgres/node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def promote(self, dbname=None, username=None):
712712

713713
# for versions below 10 `promote` is asynchronous so we need to wait
714714
# until it actually becomes writable
715-
if not pg_version_ge("10"):
715+
if self._pg_version < '10':
716716
check_query = "SHOW transaction_read_only"
717717

718718
self.poll_query_until(

0 commit comments

Comments
 (0)