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