Fix bug in the WAL recovery code to finish an incomplete split.
authorHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 11 Jun 2008 08:42:35 +0000 (08:42 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 11 Jun 2008 08:42:35 +0000 (08:42 +0000)
commit7d2ef2fb3eb10476aa0b06682262777392f65885
tree163420cd68f5f7ca06094ffdc83c66c9b46d7643
parent9a2e85b66362e157d5751ca4ea34cd16e4c9200a
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.
src/backend/access/nbtree/nbtinsert.c