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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 96675bff1f49d2d846750e344d3adc409e6bad73
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2008-06-11T08:38:56Z
Releases: 8.4.0
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.

Files

PathChange+/−
src/backend/access/nbtree/nbtinsert.c modified +5 −3