• Tom Lane's avatar
    Make the server track an 'XID epoch', that is, maintain higher-order bits · 35af5422
    Tom Lane authored
    of the transaction ID counter.  Nothing is done with the epoch except to
    store it in checkpoint records, but this provides a foundation with which
    add-on code can pretend that XIDs never wrap around.  This is a severely
    trimmed and rewritten version of the xxid patch submitted by Marko Kreen.
    Per discussion, the epoch counter seems the only part of xxid that really
    needs to be in the core server.
    35af5422
pg_resetxlog.c 23.6 KB