pgsql: Awhile back I added some code to StartupCLOG() to forcibly zero - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Awhile back I added some code to StartupCLOG() to forcibly zero
Date
Msg-id 20041222184609.8FC4C3ABC62@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Awhile back I added some code to StartupCLOG() to forcibly zero out
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.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        clog.c (r1.26 -> r1.27)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/clog.c.diff?r1=1.26&r2=1.27)

pgsql-committers by date:

Previous
From: momjian@svr1.postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Add mention that pg_ctl will return an accurate exit code when
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Remove extra parenthesis.