Thread: pgsql: Fix coredump during replay WAL after crash.

pgsql: Fix coredump during replay WAL after crash.

From
teodor@postgresql.org (Teodor Sigaev)
Date:
Log Message:
-----------
Fix coredump during replay WAL after crash. Change entrySplitPage() to prevent
usage of any information from system catalog, because it could be called during
replay of WAL.

Per bug report from Craig McElroy <craig.mcelroy@contegix.com>. Patch doesn't
change on-disk storage.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/gin:
        ginentrypage.c (r1.5.2.1 -> r1.5.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/gin/ginentrypage.c?r1=1.5.2.1&r2=1.5.2.2)