Re: REPACK enhancements

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: REPACK enhancements
Date: 2026-07-15 08:47:28
Message-ID: 108776.1784105248@localhost
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Antonin Houska <ah(at)cybertec(dot)at> wrote:

> This patch set is for the next development cycle. It tries to relax some
> limitations of the REPACK (CONCURRENTLY) command.

This is the patch set rebased. (It also fixes race conditions in
repack_snapshots.spec that I haven't encountered before).

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

Attachment Content-Type Size
v02-0001-Use-tuple-slot-to-pass-tuples-for-rewriting.patch text/x-diff 11.5 KB
v02-0002-Move-functions-to-repack.c.patch text/x-diff 8.4 KB
v02-0003-Introduce-RepackDest-structure.patch text/x-diff 18.8 KB
v02-0004-Use-multiple-snapshots-to-copy-the-data.patch text/plain 111.8 KB
v02-0005-Simplify-the-way-restrictions-are-imposed-on-index-f.patch text/x-diff 22.8 KB
v02-0006-Use-separate-transactions-for-catalog-changes.patch text/x-diff 43.2 KB
v02-0007-Decouple-updating-of-freezing-information-from-swap_.patch text/x-diff 8.1 KB
v02-0008-Make-REPACK-CONCURRENTLY-MVCC-safe.patch text/plain 115.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2026-07-15 08:52:38 Re: walsummarizer can get stuck when switching timelines
Previous Message Peter Smith 2026-07-15 08:42:35 Re: Support EXCEPT for TABLES IN SCHEMA publications