aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2017-03-24 13:53:40 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2017-03-24 13:53:40 +0300
commit78874531baf99769468dedfff19aa7e2068bc5e5 (patch)
treeab0fc9106324635b142052430035f6dc4de0d576 /src/backend/utils/adt/ruleutils.c
parent457a4448732881b5008f7a3bcca76fc299075ac3 (diff)
downloadpostgresql-78874531baf99769468dedfff19aa7e2068bc5e5.tar.gz
postgresql-78874531baf99769468dedfff19aa7e2068bc5e5.zip
Fix backup canceling
Assert-enabled build crashes but without asserts it works by wrong way: it may not reset forcing full page write and preventing from starting exclusive backup with the same name as cancelled. Patch replaces pair of booleans nonexclusive_backup_running/exclusive_backup_running to single enum to correctly describe backup state. Backpatch to 9.6 where bug was introduced Reported-by: David Steele Authors: Michael Paquier, David Steele Reviewed-by: Anastasia Lubennikova https://commitfest.postgresql.org/13/1068/
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions