git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 849462a)
Remove dead InRecovery check.
2014年9月11日 19:43:56 +0000 (22:43 +0300)
2014年9月11日 19:43:56 +0000 (22:43 +0300)
With the new B-tree incomplete split handling in 9.4, _bt_insert_parent is
never called in recovery.


diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c
index ecee5ac7f665fa42c7cb1d58e19f695f8cae0aa0..59d7006c94e9a308992d22f54bb09038408c2994 100644 (file)
--- a/src/backend/access/nbtree/nbtinsert.c
+++ b/src/backend/access/nbtree/nbtinsert.c
@@ -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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /