]> granicus.if.org Git - postgresql/commit
Resetting the XLOG can't include rewinding it to logical position zero,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Mar 2001 05:08:39 +0000 (05:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 16 Mar 2001 05:08:39 +0000 (05:08 +0000)
commit4eb5e27a28c986077f9707341a05e556042baf45
treea5ff44a5fb868ef48aef152b730205c05f978120
parent9242e6c0380f17bc3e7849ab9b1e38e825116b60
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.
contrib/pg_resetxlog/pg_resetxlog.c