pgsql: Fix bug in the WAL recovery code to finish an incomplete split. - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Fix bug in the WAL recovery code to finish an incomplete split.
Date
Msg-id 20080611084032.D5FAA75602D@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix bug in the WAL recovery code to finish an incomplete split.
CacheInvalidateRelcache() crashes if called in WAL recovery, because the
invalidation infrastructure hasn't been initialized yet.

Back-patch to 8.2, where the bug was introduced.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
    pgsql/src/backend/access/nbtree:
        nbtinsert.c (r1.164 -> r1.164.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c?r1=1.164&r2=1.164.2.1)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix bug in the WAL recovery code to finish an incomplete split.
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix bug in the WAL recovery code to finish an incomplete split.