diff options
| author | Teodor Sigaev <teodor@sigaev.ru> | 2017-03-24 13:55:02 +0300 |
|---|---|---|
| committer | Teodor Sigaev <teodor@sigaev.ru> | 2017-03-24 13:55:02 +0300 |
| commit | 8de6278d3b7c810fe5d31486491189d88550a2a6 (patch) | |
| tree | 92014b91075b26e8a094edf0b64b851458d8e1c3 /contrib/btree_gist/btree_utils_var.h | |
| parent | 4ae0805bbaa4011a65c6b40b9d138aa72f29b8a2 (diff) | |
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 'contrib/btree_gist/btree_utils_var.h')
0 files changed, 0 insertions, 0 deletions
