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

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

Commit: 2e1229671aec11a7a85706d4c69631f525569563
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-05-31T19:11:14Z
Releases: 7.3.11
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