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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 17209608aeb547f470d82f32c658e1e4c92c06e5
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2008-06-11T08:42:35Z
Releases: 8.2.10
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