mirror of https://github.com/postgres/postgres
Commit df3737a651
added an incorrect assertion about the preconditions
for invoking the backup cleanup callback: it misfires at session end in
case a backup completes successfully. Fix it, using coding from Michaël
Paquier. Also add some tests for the various cases.
Reported by Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/20221021.161038.1277961198945653224.horikyota.ntt@gmail.com
pull/107/head
parent
2e0d80c5bb
commit
8328a15f8f
Loading…
Reference in new issue