Move the pg_stop_backup() into a finally: block.
authorSteve Singer <ssinger@ca.afilias.info>
Thu, 17 Mar 2011 18:18:45 +0000 (20:18 +0200)
committerMartin Pihlak <martin.pihlak@gmail.com>
Thu, 17 Mar 2011 18:19:15 +0000 (20:19 +0200)
commitd18347f18b5798dec90eb771c9489a6b28d84e55
treed749c428cd952200852b62438db02bd06db79024
parentd9f94dfa446561286fb2c7d81baf0185101c2f60
Move the pg_stop_backup() into a finally: block.
Some instances were reported where the base backup failed with some issue
but pg_stop_backup() hadn't been called and had to be called manually.
This should make that less likely
python/walmgr.py