[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 →
  1. Fix another typo in gininsert.c

  2. Fix typos in gininsert.c

Attachments

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