Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaae7af3

Browse files
committed
Remove dead InRecovery check.
With the new B-tree incomplete split handling in 9.4, _bt_insert_parent isnever called in recovery.
1 parent849462a commitaae7af3

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
BTPageOpaquelpageop;
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)

[8]ページ先頭

©2009-2025 Movatter.jp