Remove an obsolete comment in gistinsert()

This is inconsistent since 1f7ef548ec 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
pull/182/head
Michael Paquier 10 months ago
parent 7054186c4e
commit 987027bcc0
  1. 3
      src/backend/access/gist/gist.c

@ -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);

Loading…
Cancel
Save