Thread: pgsql: Refactor BuildIndexInfo() with the new makeIndexInfo()

pgsql: Refactor BuildIndexInfo() with the new makeIndexInfo()

From
Michael Paquier
Date:
Refactor BuildIndexInfo() with the new makeIndexInfo()

This portion of the code got forgotten in 7cce159 which has introduced a
new routine to build this node, and this finishes the unification of the
places where IndexInfo is initialized.

Author: Michael Paquier
Discussion: https://postgr.es/m/20190801041322.GA3435@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/69edf4f8802247209e77f69e089799b3d83c13a4

Modified Files
--------------
src/backend/catalog/index.c | 52 +++++++++++++--------------------------------
1 file changed, 15 insertions(+), 37 deletions(-)