diff options
author | Amit Kapila <akapila@postgresql.org> | 2023-02-27 08:32:45 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2023-02-27 08:32:45 +0530 |
commit | a6cd1fc692eff708fd42c72b03f756fa1860530e (patch) | |
tree | bdc6c802a7aafbc822ffd81e3c7dd262cde78952 /src/include/access/xlog_internal.h | |
parent | ded7b7bbc3086a02296822a7a8e8bfbac9bdf5d6 (diff) | |
download | postgresql-a6cd1fc692eff708fd42c72b03f756fa1860530e.tar.gz postgresql-a6cd1fc692eff708fd42c72b03f756fa1860530e.zip |
Change xl_hash_vacuum_one_page.ntuples from int to uint16.
This will create two bytes of padding space in xl_hash_vacuum_one_page which
can be used for future patches. This makes the datatype of
xl_hash_vacuum_one_page.ntuples same as gistxlogDelete.ntodelete which is
advisable as both are used for the same purpose.
Author: Bertrand Drouvot
Reviewed-by: Nathan Bossart
Discussion: https://postgr.es/m/b0e20c40-cb7a-fc1c-c607-2a78dac5021e@gmail.com
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r-- | src/include/access/xlog_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 59fc7bc105d..8edae7bb079 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -31,7 +31,7 @@ /* * Each page of XLOG file has a header like this: */ -#define XLOG_PAGE_MAGIC 0xD111 /* can be used as WAL version indicator */ +#define XLOG_PAGE_MAGIC 0xD112 /* can be used as WAL version indicator */ typedef struct XLogPageHeaderData { |