move DECLARE_INDEX from indexing.h?

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: move DECLARE_INDEX from indexing.h?
Date: 2020-03-06 18:20:53
Message-ID: 20200306182053.GA27940@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In his long bootstrap-reworking thread[1] John Naylor initially proposed
moving the DECLARE_INDEX lines from indexing.h to each of the
corresponding catalog files. However, in the end that wasn't done;
these lines are still in indexing.h. Is there a reason for this?
Wouldn't it make more sense to have the indexes for pg_attribute appear
in catalog/pg_attribute.h, and so forth?

I was unable to find a rebuttal of the move; maybe it was just
neglected because of fog-of-war.

[1] https://postgr.es/m/CAJVSVGWO48JbbwXkJz_yBFyGYW-M9YWxnPdxJBUosDC9ou_F0Q@mail.gmail.com

--
Álvaro Herrera

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2020-03-06 18:31:47 Re: move DECLARE_INDEX from indexing.h?
Previous Message Andres Freund 2020-03-06 18:18:26 Re: Symbolic names for the values of typalign and typstorage