You've moved fast on this!
> #ifdef NOT_USED
> /* XXX do we need this at all? */
> /*
> * Assuming OIDs are only used in system tables, there is no need to
> * restore the OID counter because we have not transfered any OIDs
> * from the old system.
> */
> prepStatus(&ctx, "Setting next oid for new cluster");
> exec_prog(&ctx, true, "%s/pg_resetxlog -o %u %s 1>/dev/null",
> ctx.m_newbindir, ctx.m_oldctrldata.chkpnt_nxtoid, ctx.m_newpgdata);
> check_ok(&ctx);
> #endif
It's certainly not impossible for someone to be using OIDs on user
tables, is it?
I mean, I'm not, but...
...Robert