• Tom Lane's avatar
    Awhile back I added some code to StartupCLOG() to forcibly zero out · bfa5f304
    Tom Lane authored
    the remainder of the current clog page during system startup.  While
    this was a good idea, it turns out the code fails if nextXid is
    exactly at a page boundary, because we won't have created the "current"
    clog page yet in that case.  Since the page will be correctly zeroed
    when we execute the first transaction on it, the solution is just to
    do nothing when exactly at a page boundary.  Per trouble report from
    Dave Hartwig.
    bfa5f304
clog.c 12.6 KB