Re: In-core regression tests for replication, cascading, archiving, PITR, etc. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: In-core regression tests for replication, cascading, archiving, PITR, etc.
Date
Msg-id 5616.1385996352@sss.pgh.pa.us
Whole thread Raw
In response to Re: In-core regression tests for replication, cascading, archiving, PITR, etc.  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: In-core regression tests for replication, cascading, archiving, PITR, etc.
Re: In-core regression tests for replication, cascading, archiving, PITR, etc.
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> I think we also needs support for testing xid/multixid wraparound. It
> currently isn't realistically testable because of the timeframes
> involved.

When I've wanted to do that in the past, I've used pg_resetxlog to
adjust a cluster's counters.  It still requires some manual hacking
though because pg_resetxlog isn't bright enough to create the new
pg_clog files needed when you move the xid counter a long way.
We could fix that, or we could make the backend more forgiving of
not finding the initial clog segment present at startup ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: In-core regression tests for replication, cascading, archiving, PITR, etc.
Next
From: Stephen Frost
Date:
Subject: Re: Extension Templates S03E11