Add test to WAL replay to verify that xl_prev points back to the previous

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e4ce3e76ce300e9e732c511c9b3e9bf98d02fd9c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-31T19:11:28Z
Add test to WAL replay to verify that xl_prev points back to the previous
WAL record; this is necessary to be sure we recognize stale WAL records
when a WAL page was only partially written during a system crash.

Files

PathChange+/−
src/backend/access/transam/xlog.c modified +34 −3