Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9ee7414

Browse files
Remove obsolete _bt_insert_parent() comment.
Remove a comment that refers to a coding practice that was fully removed by commit a8b8f4d, which introduced MarkBufferDirty(). It looks like the comment was even obsolete before then, since it concerns write-ordering dependencies with synchronous buffer writes.
1 parent a1a789e commit 9ee7414

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/access/nbtree/nbtinsert.c

-1
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)