1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Remove obsolete _bt_insert_parent() comment.

Remove a comment that refers to a coding practice that was fully removed
by commit a8b8f4db, which introduced MarkBufferDirty().  It looks like
the comment was even obsolete before then, since it concerns
write-ordering dependencies with synchronous buffer writes.
This commit is contained in:
Peter Geoghegan
2019-04-29 14:14:38 -07:00
parent a1a789eb5a
commit 9ee7414ed0

View File

@ -1786,7 +1786,6 @@ _bt_insert_parent(Relation rel,
*/ */
_bt_relbuf(rel, rbuf); _bt_relbuf(rel, rbuf);
/* Check for error only after writing children */
if (pbuf == InvalidBuffer) if (pbuf == InvalidBuffer)
elog(ERROR, "failed to re-find parent key in index \"%s\" for split pages %u/%u", elog(ERROR, "failed to re-find parent key in index \"%s\" for split pages %u/%u",
RelationGetRelationName(rel), bknum, rbknum); RelationGetRelationName(rel), bknum, rbknum);