Thread: pgsql: Fix wrong WAL info value generated when gistContinueInsert()

pgsql: Fix wrong WAL info value generated when gistContinueInsert()

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Fix wrong WAL info value generated when gistContinueInsert() performs an
index page split.  This would result in index corruption, or even more likely
an error during WAL replay, if we were unlucky enough to crash during
end-of-recovery cleanup after having completed an incomplete GIST insertion.

Yoichi Hirai

Modified Files:
--------------
    pgsql/src/backend/access/gist:
        gistxlog.c (r1.33 -> r1.34)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gist/gistxlog.c?r1=1.33&r2=1.34)