From f6fc0336228127e6affada0be24d71cf65dd4abf Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Mon, 17 Jul 2023 13:08:27 -0700 Subject: [PATCH] Removed unneeded comments [skip ci] --- src/ivfinsert.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/ivfinsert.c b/src/ivfinsert.c index 8e64f64..cc744af 100644 --- a/src/ivfinsert.c +++ b/src/ivfinsert.c @@ -125,17 +125,9 @@ InsertTuple(Relation rel, Datum *values, bool *isnull, ItemPointer heap_tid, Rel Buffer newbuf; Page newpage; - /* - * From ReadBufferExtended: Caller is responsible for ensuring - * that only one backend tries to extend a relation at the same - * time! - */ - LockRelationForExtension(rel, ExclusiveLock); - /* Add a new page */ + LockRelationForExtension(rel, ExclusiveLock); newbuf = IvfflatNewBuffer(rel, MAIN_FORKNUM); - - /* Unlock extend relation lock as early as possible */ UnlockRelationForExtension(rel, ExclusiveLock); /* Init new page */