pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antonin Houska <ah@cybertec.at>
To: shihao zhong <zhong950419@gmail.com>
Cc: Manu <manuelreyesbravo@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: REPACK enhancements
Date: Thu, 24 Sep 2026 16:02:34 +0200
Message-ID: <103630.1790258554@localhost> (raw)
In-Reply-To: <CAGRkXqTNv6BOCx71UQxER21gcnpU_yyXrg6vVghwNyUvTCwDcw@mail.gmail.com>
References: <28303.1790158015@localhost>
	<179017302006.2626644.6788432141295311288@gmail.com>
	<18680.1790247323@localhost>
	<CAGRkXqTNv6BOCx71UQxER21gcnpU_yyXrg6vVghwNyUvTCwDcw@mail.gmail.com>

shihao zhong <zhong950419@gmail.com> wrote:

> One more for 0008, for your next version.
> 
> finalize_block_range() moves *range_start_dst_p before the replay. If the replay adds pages to the new heap, the next update_identity_index
> () indexes those rows again. REPACK then fails with a duplicate key error.

Right, I've noticed that earlier this week when addressing your other
findings. The fix will be included in the next version. Thanks.

-- 
Antonin Houska
Web: https://www.cybertec-postgresql.com






view thread (21+ messages)  latest in thread

Message-ID: <103630.1790258554@localhost>
Permalink:  ../103630.1790258554@localhost/
Also on:    postgresql.org/message-id/103630.1790258554@localhost

 · 

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-hackers@postgresql.org
  Cc: ah@cybertec.at, zhong950419@gmail.com, manuelreyesbravo@gmail.com
  Subject: Re: REPACK enhancements
  In-Reply-To: <103630.1790258554@localhost>
  References: <28303.1790158015@localhost> <179017302006.2626644.6788432141295311288@gmail.com> <18680.1790247323@localhost> <CAGRkXqTNv6BOCx71UQxER21gcnpU_yyXrg6vVghwNyUvTCwDcw@mail.gmail.com> <103630.1790258554@localhost>

* 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