[PATCH v1] Fixed a spelling error in the comments in gininsert.c
Xingbin She <xingbin.she@qq.com>
From: Xingbin She <xingbin.she@qq.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-12-19T02:47:22Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix another typo in gininsert.c
- d31276f0e290 19 (unreleased) landed
-
Fix typos in gininsert.c
- 5cdbec5aa9dc 19 (unreleased) landed
Attachments
- v1-0001-Fixed-a-spelling-error-in-the-comments-in-gininse.patch (application/octet-stream) patch v1-0001
Hi hackers,
This patch fixs a typo in gin code comments, detial as follows:
diff --git a/src/backend/access/gin/gininsert.c b/src/backend/access/gin/gininsert.c
index df30dcc..8824607 100644
--- a/src/backend/access/gin/gininsert.c
+++ b/src/backend/access/gin/gininsert.c
@@ -1784,7 +1784,7 @@ _gin_parallel_merge(GinBuildState *state)
++numtuples);
}
- /* relase all the memory */
+ /* release all the memory */
GinBufferFree(buffer);
tuplesort_end(state->bs_sortstate);
@@ -1972,7 +1972,7 @@ _gin_process_worker_data(GinBuildState *state, Tuplesortstate *worker_sort,
GinBufferReset(buffer);
}
- /* relase all the memory */
+ /* release all the memory */
GinBufferFree(buffer);
--
Best regards,
Xingbin SHE
Email: xingbin.she@qq.com