pgsql: Remove RelationGetIndexRawAttOptions()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove RelationGetIndexRawAttOptions()
Date: 2023-10-03 15:55:04
Message-ID: E1qnhjk-007K77-Hb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove RelationGetIndexRawAttOptions()

There was only one caller left, for which this function was overkill.

Also, having it in relcache.c was inappropriate, since it doesn't work
with the relcache at all.

Discussion: https://www.postgresql.org/message-id/flat/f84640e3-00d3-5abd-3f41-e6a19d33c40b(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5e4282772a569363da350548b2ce2e214e92ba40

Modified Files
--------------
src/backend/commands/indexcmds.c | 8 +++++---
src/backend/utils/cache/relcache.c | 29 -----------------------------
src/include/utils/relcache.h | 1 -
3 files changed, 5 insertions(+), 33 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-10-03 18:14:01 pgsql: Doc: suppress "exceed the available area" warning in PDF build.
Previous Message Tom Lane 2023-10-03 15:41:51 pgsql: Add some notes about why "ALTER TYPE enum DROP VALUE" is hard.