| From: | Amit Kapila <akapila(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Change xl_hash_vacuum_one_page.ntuples from int to uint16. |
| Date: | 2023-02-27 03:09:50 |
| Message-ID: | E1pWTtd-000tbf-UI@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2023-02-27 06:53:46 | pgsql: Update types in smgr API |
| Previous Message | Tom Lane | 2023-02-26 19:05:10 | pgsql: Silence more compiler warnings introduced by d87d548cd0. |