1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

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 06b95334f8
commit b8b4124011

View File

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