pgsql: Change xl_hash_vacuum_one_page.ntuples from int to uint16. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Change xl_hash_vacuum_one_page.ntuples from int to uint16.
Date
Msg-id E1pWTtd-000tbf-UI@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a6cd1fc692eff708fd42c72b03f756fa1860530e

Modified Files
--------------
src/include/access/hash_xlog.h     | 4 ++--
src/include/access/xlog_internal.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Silence more compiler warnings introduced by d87d548cd0.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Update types in smgr API