aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-11-07 15:13:50 +0900
committerMichael Paquier <michael@paquier.xyz>2024-11-07 15:13:50 +0900
commit987027bcc04397f963bb961092a83067c0e406bb (patch)
treedeb4cce62ff6b687ecf2b3675665f4d94957658b /src/backend/access/gist/gist.c
parent7054186c4ebe24e63254651e2ae9b36efae90d4e (diff)
downloadpostgresql-987027bcc04397f963bb961092a83067c0e406bb.tar.gz
postgresql-987027bcc04397f963bb961092a83067c0e406bb.zip
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
Diffstat (limited to 'src/backend/access/gist/gist.c')
-rw-r--r--src/backend/access/gist/gist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c
index 3ae913e0230..177786a13f8 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);