pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change xl_hash_vacuum_one_page.ntuples from int to uint16.
Date: Mon, 27 Feb 2023 03:09:50 +0000
Message-ID: <E1pWTtd-000tbf-UI@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1pWTtd-000tbf-UI@gemulon.postgresql.org>
Permalink:  ../E1pWTtd-000tbf-UI@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pWTtd-000tbf-UI@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Change xl_hash_vacuum_one_page.ntuples from int to uint16.
  In-Reply-To: <E1pWTtd-000tbf-UI@gemulon.postgresql.org>
  References: <E1pWTtd-000tbf-UI@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox