pgsql: Fix bug in the WAL recovery code to finish an incomplete split.

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix bug in the WAL recovery code to finish an incomplete split.
Date: 2008-06-11 08:38:57
Message-ID: 20080611083857.1872D75602C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Modified Files:
--------------
pgsql/src/backend/access/nbtree:
nbtinsert.c (r1.166 -> r1.167)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtinsert.c?r1=1.166&r2=1.167)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-06-11 08:40:32 pgsql: Fix bug in the WAL recovery code to finish an incomplete split.
Previous Message User Neothezion 2008-06-11 07:39:09 pgrecovery - alpha: New Directory