pg_rewind in PostgreSQL 9.5
243 points by willlll
Read the article
Discussion on Hacker News