Re: {CREATE INDEX, REINDEX} CONCURRENTLY improvements
| От | Álvaro Herrera |
|---|---|
| Тема | Re: {CREATE INDEX, REINDEX} CONCURRENTLY improvements |
| Дата | |
| Msg-id | 20210118202734.GA25753@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: {CREATE INDEX, REINDEX} CONCURRENTLY improvements (Matthias van de Meent <boekewurm+postgres@gmail.com>) |
| Список | pgsql-hackers |
On 2021-Jan-18, Matthias van de Meent wrote:
> On Fri, 15 Jan 2021 at 15:29, Álvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> Would this not need to be the following? Right now, it resets
> potentially older h->catalog_oldest_nonremovable (which is set in the
> PROC_IN_SAFE_IC branch).
>
> > + if (statusFlags & PROC_IN_SAFE_IC)
> > + h->catalog_oldest_nonremovable =
> > + TransactionIdOlder(h->catalog_oldest_nonremovable, xmin);
> > + else
> > + {
> > + h->data_oldest_nonremovable =
> > + TransactionIdOlder(h->data_oldest_nonremovable, xmin);
> > + h->catalog_oldest_nonremovable =
> > + TransactionIdOlder(h->catalog_oldest_nonremovable, xmin);
> > + }
Oops, you're right.
--
Álvaro Herrera Valdivia, Chile
В списке pgsql-hackers по дате отправления: