Invent struct ReindexIndexInfo

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: c6c4b37395b22f7e649234453a0aafe74d61b7e6
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2021-01-12T20:05:06Z
Releases: 14.0
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@gmail.com>
Reviewed-by: Hamid Akhtar <hamid.akhtar@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/20201130195439.GA24598@alvherre.pgsql

Files

PathChange+/−
src/backend/commands/indexcmds.c modified +65 −61
src/tools/pgindent/typedefs.list modified +1 −0

Discussion