OSDN Git Service

Fix bug in the WAL recovery code to finish an incomplete split.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 11 Jun 2008 08:38:56 +0000 (08:38 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 11 Jun 2008 08:38:56 +0000 (08:38 +0000)
commit96675bff1f49d2d846750e344d3adc409e6bad73
treeb6e0c6a43ba376415a9179dc01123d16999f984c
parent109940c635ff831b3d6d0cb0a7e1b6d4d838becf
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