Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16
Дата
Msg-id CAA4eK1KT6nAkBd9wQeo08bMU=GwToD9Knz8XTCe-AUu88RjpRg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: "Imseih (AWS), Sami"
Дата:
Сообщение: Re: Add index scan progress to pg_stat_progress_vacuum
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pg_upgrade and logical replication