Re: Changed behavior in rewriteheap

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Erik Nordström <erik(at)timescale(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Changed behavior in rewriteheap
Date: 2024-11-22 13:26:56
Message-ID: ceb1828c-8104-4f00-b3de-d0bdac9de7a7@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 22/11/2024 15:02, Matthias van de Meent wrote:
> I think I'd go with a patch like attached, where the bulk writer
> registers that it started with .relsize pages in the relfork, and use
> that for smgrextend() decisions. It now also records pages_written as
> a separate but accurate value.

Looks good to me. Eric, can you confirm that Matthias's patch fixes the
problem for you?

--
Heikki Linnakangas
Neon (https://neon.tech)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Luzanov 2024-11-22 13:53:32 Re: psql: Fix \pset by adding missed xheader_width option to the help
Previous Message jian he 2024-11-22 13:24:12 Re: Remove useless GROUP BY columns considering unique index