Re: Vacuum/visibility is busted - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Vacuum/visibility is busted
Date
Msg-id 20956.1360267900@sss.pgh.pa.us
Whole thread Raw
In response to Re: Vacuum/visibility is busted  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> Does anyone have suggestions on how to hack the system to make it
> fast-forward the current transaction id?

What I've generally done is to stop the server then use pg_resetxlog
to put the XID counter where I want it.  I believe you'll need to
manually create a pg_clog file corresponding to the new XID counter
value, and maybe pg_subtrans too.  (Someday pg_resetxlog oughta be
improved to create those files itself, probably.)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Vacuum/visibility is busted
Next
From: Simon Riggs
Date:
Subject: Re: Vacuum/visibility is busted