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

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: b9d591d6b9d95d9b6448e860c6c178f1674e6de2
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2008-06-11T08:40:32Z
Releases: 8.3.4
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