From 987027bcc04397f963bb961092a83067c0e406bb Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 7 Nov 2024 15:13:50 +0900 Subject: [PATCH] Remove an obsolete comment in gistinsert() 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 3ae913e023..177786a13f 100644 --- a/src/backend/access/gist/gist.c +++ b/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);