Re: Return pg_control from pg_backup_stop(). - Mailing list pgsql-hackers

From shihao zhong
Subject Re: Return pg_control from pg_backup_stop().
Date
Msg-id CAGRkXqRziLU_gQNM6J39n_ce0OE1EBg1=DvwXyZoRK-fYxhqSg@mail.gmail.com
Whole thread
In response to Re: Return pg_control from pg_backup_stop().  (shihao zhong <zhong950419@gmail.com>)
Responses Re: Return pg_control from pg_backup_stop().
List pgsql-hackers
Hi David,

On the pg_resetwal patch, one question before I write it. A restored backup
is never cleanly shut down, so pg_resetwal already needs -f there. A
backup_label check that -f overrides would only change the message. I'd
rather refuse even with -f, like the postmaster.pid check, and make the user
remove backup_label by hand. 058 would then need to remove backup_label
before its pg_resetwal step. Does that work for you? Or you would prefer
to have a warning message only.

Thanks,
Shihao

pgsql-hackers by date:

Previous
From: shihao zhong
Date:
Subject: Re: Return pg_control from pg_backup_stop().
Next
From: shihao zhong
Date:
Subject: Re: [PATCH] Refactor remaining zero-fill relation extensions to use smgrzeroextend()