pgsql: Invent struct ReindexIndexInfo

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Invent struct ReindexIndexInfo
Date: 2021-01-12 20:08:19
Message-ID: E1kzPxj-0007em-J7@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Invent struct ReindexIndexInfo

This struct is used by ReindexRelationConcurrently to keep track of the
relations to process. This saves having to obtain some data repeatedly,
and has future uses as well.

Reviewed-by: Dmitry Dolgov <9erthalion6(at)gmail(dot)com>
Reviewed-by: Hamid Akhtar <hamid(dot)akhtar(at)gmail(dot)com>
Reviewed-by: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Discussion: https://postgr.es/m/20201130195439.GA24598@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c6c4b37395b22f7e649234453a0aafe74d61b7e6

Modified Files
--------------
src/backend/commands/indexcmds.c | 126 ++++++++++++++++++++-------------------
src/tools/pgindent/typedefs.list | 1 +
2 files changed, 66 insertions(+), 61 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-01-13 01:34:52 pgsql: Fix routine name in comment of catcache.c
Previous Message Tom Lane 2021-01-12 18:37:57 pgsql: pg_dump: label INDEX ATTACH ArchiveEntries with an owner.