Обсуждение: pgsql: Fix bug in the WAL recovery code to finish an incomplete split.

Поиск
Список
Период
Сортировка

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

От
heikki@postgresql.org (Heikki Linnakangas)
Дата:
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)