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

From Amit Kapila
Subject Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16
Date
Msg-id CAA4eK1KT6nAkBd9wQeo08bMU=GwToD9Knz8XTCe-AUu88RjpRg@mail.gmail.com
Whole thread Raw
In response to Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Fri, Feb 17, 2023 at 9:43 AM Andres Freund <andres@anarazel.de> wrote:
>
> On 2023-02-17 08:30:09 +0530, Amit Kapila wrote:
> > Thanks, I was not completely sure about whether we need to bump
> > XLOG_PAGE_MAGIC for this patch as this makes the additional space just
> > by changing the datatype of one of the members of the existing WAL
> > record. We normally change it for the addition/removal of new fields
> > aka change in WAL record format, or addition of a new type of WAL
> > record. Does anyone else have an opinion/suggestion on this matter?
>
> I'd definitely change it - the width of a field still means you can't really
> parse the old WAL sensibly anymore.
>

Okay, thanks for your input. I'll push this patch early next week.

-- 
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: "Imseih (AWS), Sami"
Date:
Subject: Re: Add index scan progress to pg_stat_progress_vacuum
Next
From: Amit Kapila
Date:
Subject: Re: pg_upgrade and logical replication