aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/gistxlog.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2023-03-03 12:52:04 -0500
committerRobert Haas <rhaas@postgresql.org>2023-03-03 12:52:04 -0500
commitebd551f586a801dee426e49ba72fb213e8013890 (patch)
tree04fe2dc0a14318dd24224a0a305f42c4c7733f89 /src/include/access/gistxlog.h
parentb6a0d469cae4410a05b5e109748278065a931b68 (diff)
downloadpostgresql-ebd551f586a801dee426e49ba72fb213e8013890.tar.gz
postgresql-ebd551f586a801dee426e49ba72fb213e8013890.zip
Update some incorrect comments about xlog records.
The comments claim that certain pieces of data are part of the main WAL record data when in reality they are part of the data for block 0. Repair. Bertrand Drouvot, reviewed by Amit Kapila. Originally reported by me. Discussion: http://postgr.es/m/80db7836-4415-d54a-64c3-66b88b1430e7@gmail.com
Diffstat (limited to 'src/include/access/gistxlog.h')
-rw-r--r--src/include/access/gistxlog.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/access/gistxlog.h b/src/include/access/gistxlog.h
index 09f9b0f8c67..2ce9366277d 100644
--- a/src/include/access/gistxlog.h
+++ b/src/include/access/gistxlog.h
@@ -52,9 +52,7 @@ typedef struct gistxlogDelete
TransactionId snapshotConflictHorizon;
uint16 ntodelete; /* number of deleted offsets */
- /*
- * In payload of blk 0 : todelete OffsetNumbers
- */
+ /* TODELETE OFFSET NUMBER ARRAY FOLLOWS */
} gistxlogDelete;
#define SizeOfGistxlogDelete (offsetof(gistxlogDelete, ntodelete) + sizeof(uint16))