Skip to content

Commit b8b4124

Browse files
committed
Remove dead InRecovery check.
With the new B-tree incomplete split handling in 9.4, _bt_insert_parent is never called in recovery.
1 parent 06b9533 commit b8b4124

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,8 +1740,7 @@ _bt_insert_parent(Relation rel,
17401740
{
17411741
BTPageOpaque lpageop;
17421742

1743-
if (!InRecovery)
1744-
elog(DEBUG2, "concurrent ROOT page split");
1743+
elog(DEBUG2, "concurrent ROOT page split");
17451744
lpageop = (BTPageOpaque) PageGetSpecialPointer(page);
17461745
/* Find the leftmost page at the next level up */
17471746
pbuf = _bt_get_endpoint(rel, lpageop->btpo.level + 1, false);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy