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

Started by Michael Paquieralmost 7 years ago1 messagescomitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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: /messages/by-id/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(-)