We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 38ad33b + 22ea663 commit 5ca0b07Copy full SHA for 5ca0b07
asyncpg/cluster.py
@@ -109,7 +109,7 @@ def get_status(self):
109
elif process.returncode == 3:
110
return 'stopped'
111
elif process.returncode == 0:
112
- r = re.match(r'.*PID:\s+(\d+).*', stdout.decode())
+ r = re.match(r'.*PID\s?:\s+(\d+).*', stdout.decode())
113
if not r:
114
raise ClusterError(
115
'could not parse pg_ctl status output: {}'.format(
0 commit comments