by sorkin2 · 9y ago · 0 comments
Have you heard of pg_rewind? https://www.postgresql.org/docs/current/static/app-pgrewind....
https://github.com/vmware/pg_rewind/tree/REL9_4_STABLE
It's from the people who wrote it upstream, they provide the code there for earlier Postgres releases.