More refactoring for BuildIndexInfo - Mailing list pgsql-hackers

From Michael Paquier
Subject More refactoring for BuildIndexInfo
Date
Msg-id 20190801041322.GA3435@paquier.xyz
Whole thread Raw
Responses Re: More refactoring for BuildIndexInfo  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi all,

7cce1593 has introduced a new routine makeIndexInfo to create
IndexInfo nodes.  It happens that we can do a bit more refactoring as
per the attached, as BuildIndexInfo can make use of this routine,
removing some duplication on the way (filling in IndexInfo was still
duplicated in a couple of places before 7cce159).

Any thoughts or objections?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Commitfest 2019-07, the first of five* for PostgreSQL 13
Next
From: Michael Paquier
Date:
Subject: Re: refactoring - share str2*int64 functions