Re: Changed behavior in rewriteheap - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Changed behavior in rewriteheap
Date
Msg-id ceb1828c-8104-4f00-b3de-d0bdac9de7a7@iki.fi
Whole thread Raw
In response to Changed behavior in rewriteheap  (Erik Nordström <erik@timescale.com>)
Responses Re: Changed behavior in rewriteheap
List 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)




pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation
Next
From: Pavel Luzanov
Date:
Subject: Re: psql: Fix \pset by adding missed xheader_width option to the help