Simon Riggs <simon@2ndquadrant.com> writes:
> * In the release note comments, add that in a future release we will add
> a parameter to recovery.conf "require_backup_label" which defaults to
> "true".
The problem that I'm having with that idea is that it breaks
crash-recovery after replay starts, because we intentionally remove the
backup label once we've read it. (And no, please do not suggest
rewriting the config file ...)
Basically it seems that we need a more robust way to distinguish
"beginning a recovery" from "resuming a recovery". Perhaps more state
in pg_control is needed?
regards, tom lane