Have pg_rewind run crash recovery before rewinding
Alvaro Herrera <alvherre@alvh.no-ip.org>
Have pg_rewind run crash recovery before rewinding If we don't do this, the rewind fails if the server wasn't cleanly shut down, which seems unhelpful serving no purpose. Also provide a new option --no-ensure-shutdown to suppress this behavior, for alleged advanced usage that prefers to avoid the crash recovery. Authors: Paul Guo, Jimmy Yih, Ashwin Agrawal Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/CAEET0ZEffUkXc48pg2iqARQgGRYDiiVxDu+yYek_bTwJF+q=Uw@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_rewind.sgml | modified | +15 −0 |
| src/bin/pg_rewind/pg_rewind.c | modified | +80 −0 |
Documentation touched
Discussion
- Two pg_rewind patches (auto generate recovery conf and ensure clean shutdown) 46 messages · 2019-03-19 → 2019-10-08