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

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