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

Commit9ee7414

Browse files
Remove obsolete _bt_insert_parent() comment.
Remove a comment that refers to a coding practice that was fully removedby commita8b8f4d, which introduced MarkBufferDirty(). It looks likethe comment was even obsolete before then, since it concernswrite-ordering dependencies with synchronous buffer writes.
1 parenta1a789e commit9ee7414

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎src/backend/access/nbtree/nbtinsert.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1786,7 +1786,6 @@ _bt_insert_parent(Relation rel,
17861786
*/
17871787
_bt_relbuf(rel,rbuf);
17881788

1789-
/* Check for error only after writing children */
17901789
if (pbuf==InvalidBuffer)
17911790
elog(ERROR,"failed to re-find parent key in index \"%s\" for split pages %u/%u",
17921791
RelationGetRelationName(rel),bknum,rbknum);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp