]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Add comment in ginxlog.h about block used with ginxlogInsertListPage
authorMichael Paquier <michael@paquier.xyz>
Mon, 6 Oct 2025 07:23:51 +0000 (16:23 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 6 Oct 2025 07:23:51 +0000 (16:23 +0900)
All the other structures describe the list of blocks used, and in the
case of a GIN_INSERT_LISTPAGE record block 0 refers to a list page with
the items added to it.

Author: Kirill Reshke <reshkekirill@gmail.com>
Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru>
Discussion: https://postgr.es/m/CALdSSPgk=9WRoXhZy5fdk+T1hiau7qbL_vn94w_L1N=gtEdbsg@mail.gmail.com

src/include/access/ginxlog.h

index f8c671c2e0d8e5f67e8bcc97a67373d3f4326157..98760bf6ee493910c28d82cd0dcda7693e2e84d3 100644 (file)
@@ -179,6 +179,9 @@ typedef struct ginxlogUpdateMeta
 
 #define XLOG_GIN_INSERT_LISTPAGE  0x70
 
+/*
+ * Backup Blk 0: list page with inserted tuples
+ */
 typedef struct ginxlogInsertListPage
 {
        BlockNumber rightlink;