diff --git a/lib/extras.py b/lib/extras.py index 4d92e6fa..92dd8192 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -488,7 +488,7 @@ class ReplicationCursor(_cursor): """Get information about the cluster status.""" self.execute("IDENTIFY_SYSTEM") - return dict(zip(['systemid', 'timeline', 'xlogpos', 'dbname'], + return dict(zip([_.name for _ in self.description], self.fetchall()[0])) def quote_ident(self, ident):