Skip to content

Commit 987027b

Browse files
committed
Remove an obsolete comment in gistinsert()
This is inconsistent since 1f7ef54 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
1 parent 7054186 commit 987027b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/gist/gist.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ gistinsert(Relation r, Datum *values, bool *isnull,
179179

180180
oldCxt = MemoryContextSwitchTo(giststate->tempCxt);
181181

182-
itup = gistFormTuple(giststate, r,
183-
values, isnull, true /* size is currently bogus */ );
182+
itup = gistFormTuple(giststate, r, values, isnull, true);
184183
itup->t_tid = *ht_ctid;
185184

186185
gistdoinsert(r, itup, 0, giststate, heapRel, false);

0 commit comments

Comments
 (0)