mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-11 23:26:55 +08:00
Removed unneeded comments [skip ci]
This commit is contained in:
@@ -125,17 +125,9 @@ InsertTuple(Relation rel, Datum *values, bool *isnull, ItemPointer heap_tid, Rel
|
|||||||
Buffer newbuf;
|
Buffer newbuf;
|
||||||
Page newpage;
|
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 */
|
/* Add a new page */
|
||||||
|
LockRelationForExtension(rel, ExclusiveLock);
|
||||||
newbuf = IvfflatNewBuffer(rel, MAIN_FORKNUM);
|
newbuf = IvfflatNewBuffer(rel, MAIN_FORKNUM);
|
||||||
|
|
||||||
/* Unlock extend relation lock as early as possible */
|
|
||||||
UnlockRelationForExtension(rel, ExclusiveLock);
|
UnlockRelationForExtension(rel, ExclusiveLock);
|
||||||
|
|
||||||
/* Init new page */
|
/* Init new page */
|
||||||
|
|||||||
Reference in New Issue
Block a user