pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix backup canceling
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix backup canceling
@ 2017-03-24 10:54 Teodor Sigaev <teodor@sigaev.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Teodor Sigaev @ 2017-03-24 10:54 UTC (permalink / raw)
  To: pgsql-committers

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/

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/78874531baf99769468dedfff19aa7e2068bc5e5

Modified Files
--------------
src/backend/access/transam/xlog.c      | 22 ++++++++++++++++++++++
src/backend/access/transam/xlogfuncs.c | 25 ++++++++++---------------
src/include/access/xlog.h              | 21 ++++++++++++++++++++-
3 files changed, 52 insertions(+), 16 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Fix backup canceling
@ 2017-03-24 10:55 Teodor Sigaev <teodor@sigaev.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Teodor Sigaev @ 2017-03-24 10:55 UTC (permalink / raw)
  To: pgsql-committers

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/

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8de6278d3b7c810fe5d31486491189d88550a2a6

Modified Files
--------------
src/backend/access/transam/xlog.c      | 22 ++++++++++++++++++++++
src/backend/access/transam/xlogfuncs.c | 25 ++++++++++---------------
src/include/access/xlog.h              | 21 ++++++++++++++++++++-
3 files changed, 52 insertions(+), 16 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-03-24 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 10:54 pgsql: Fix backup canceling Teodor Sigaev <teodor@sigaev.ru>
2017-03-24 10:55 pgsql: Fix backup canceling Teodor Sigaev <teodor@sigaev.ru>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox