pgsql: Fix coredump during replay WAL after crash.

From: teodor(at)postgresql(dot)org (Teodor Sigaev)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix coredump during replay WAL after crash.
Date: 2007-10-29 13:49:51
Message-ID: 20071029134951.60649754229@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)mcelroy(at)contegix(dot)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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-10-29 13:54:04 Re: pgsql: Add compat file for dynamically loading the functions that MinGW
Previous Message Teodor Sigaev 2007-10-29 13:49:21 pgsql: Fix coredump during replay WAL after crash.