Remove an obsolete comment in gistinsert()
authorMichael Paquier <[email protected]>
Thu, 7 Nov 2024 06:13:50 +0000 (15:13 +0900)
committerMichael Paquier <[email protected]>
Thu, 7 Nov 2024 06:13:50 +0000 (15:13 +0900)
This is inconsistent since 1f7ef548ec2e where the definition of
gistFormTuple() has changed.

Author: Tender Wang
Reviewed-by: Aleksander Alekseev
Discussion: https://postgr.es/m/CAHewXNkjU95_HdioDVU=5yBq_Xt=GfBv=Od-0oKtiA006pWW7Q@mail.gmail.com

src/backend/access/gist/gist.c

index 3ae913e0230ebd78df8e49e396e5314eb0089d4f..177786a13f8328e28e8e4ce038a3ea11efec568f 100644 (file)
@@ -179,8 +179,7 @@ gistinsert(Relation r, Datum *values, bool *isnull,
 
    oldCxt = MemoryContextSwitchTo(giststate->tempCxt);
 
-   itup = gistFormTuple(giststate, r,
-                        values, isnull, true /* size is currently bogus */ );
+   itup = gistFormTuple(giststate, r, values, isnull, true);
    itup->t_tid = *ht_ctid;
 
    gistdoinsert(r, itup, 0, giststate, heapRel, false);