Resetting the XLOG can't include rewinding it to logical position zero,

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

Commit: 4eb5e27a28c986077f9707341a05e556042baf45
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-03-16T05:08:39Z
Releases: 7.1.1
Resetting the XLOG can't include rewinding it to logical position zero,
because we need page LSNs stored in the main database to be less than
the current XLOG position.  Hence, generate the new XLOG segment at last
old segment number plus one.

Files

PathChange+/−
contrib/pg_resetxlog/pg_resetxlog.c modified +25 −9