Re: Adding REPACK [concurrently]

From: Mihail Nikalayeu <mihailnikalayeu(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Antonin Houska <ah(at)cybertec(dot)at>, Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Robert Treat <rob(at)xzilla(dot)net>
Subject: Re: Adding REPACK [concurrently]
Date: 2026-04-06 23:53:02
Message-ID: CADzfLwXMrv9YjS6PVb0BNVZRrdz0vbiGqJ+tT+MJnCUM2B_X6A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

On Tue, Apr 7, 2026 at 12:22 AM Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> So what I ended up doing, is to just not change to the slot's context in
> restore_tuple.

Yes, it should work.

> BTW I
> don't understand why you say that function only resets ExecutorState

My bad, I confused "ExprContext" with "ExecutorState" (names passed to
AllocSetContextCreate) while tracing.

Mikhail.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Lukas Fittl 2026-04-07 00:06:36 Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?
Previous Message Matheus Alcantara 2026-04-06 23:48:05 Re: Asynchronous MergeAppend