More refactoring for BuildIndexInfo

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: More refactoring for BuildIndexInfo
Date: 2019-08-01 04:13:22
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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?

Attachment Content-Type Size
indexinfo-refactor.patch text/x-diff 2.4 KB


Browse pgsql-hackers by date

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