Remove dead InRecovery check.

With the new B-tree incomplete split handling in 9.4, _bt_insert_parent is
never called in recovery.
This commit is contained in:
Heikki Linnakangas 2014-09-11 22:43:56 +03:00
parent 849462a9fa
commit aae7af3df8
1 changed files with 1 additions and 2 deletions

View File

@ -1740,8 +1740,7 @@ _bt_insert_parent(Relation rel,
{
BTPageOpaque lpageop;
if (!InRecovery)
elog(DEBUG2, "concurrent ROOT page split");
elog(DEBUG2, "concurrent ROOT page split");
lpageop = (BTPageOpaque) PageGetSpecialPointer(page);
/* Find the leftmost page at the next level up */
pbuf = _bt_get_endpoint(rel, lpageop->btpo.level + 1, false);