1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-16 07:14:15 +02:00

Merge branch 'master' into release_2_5

This commit is contained in:
Grigory Smolkin
2021-06-20 14:54:16 +03:00
8 changed files with 41 additions and 12 deletions

View File

@ -139,6 +139,10 @@ def slow_start(self, replica=False):
except testgres.QueryException as e:
if 'database system is starting up' in e.message:
pass
elif 'FATAL: the database system is not accepting connections' in e.message:
pass
elif replica and 'Hot standby mode is disabled' in e.message:
raise e
else:
raise e