[patch] Concurrent table reindex per-index progress reporting

From: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [patch] Concurrent table reindex per-index progress reporting
Date: 2020-09-24 19:19:18
Message-ID: CAEze2WhqFgcwe1_tv=sFYhLWV2AdpfukumotJ6JNcAOQs3jufg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

While working on a PG12-instance I noticed that the progress reporting of
concurrent index creation for non-index relations fails to update the
index/relation OIDs that it's currently working on in the
pg_stat_progress_create_index view after creating the indexes. Please find
attached a patch which properly sets these values at the appropriate places.

Any thoughts?

Matthias van de Meent

Attachment Content-Type Size
0001-Report-the-active-index-for-reindex-table-concurrent.patch text/x-patch 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2020-09-24 19:22:11 Re: scram-sha-256 broken with FIPS and OpenSSL 1.0.2
Previous Message Pavel Stehule 2020-09-24 18:49:50 Re: proposal: schema variables