mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user