Change xl_hash_vacuum_one_page.ntuples from int to uint16.

Amit Kapila <akapila@postgresql.org>

Commit: a6cd1fc692eff708fd42c72b03f756fa1860530e
Author: Amit Kapila <akapila@postgresql.org>
Date: 2023-02-27T03:02:45Z
Releases: 16.0
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

Files

PathChange+/−
src/include/access/hash_xlog.h modified +2 −2
src/include/access/xlog_internal.h modified +1 −1

Discussion