pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove IndexInfo.ii_OpclassOptions field
Date: Tue, 03 Oct 2023 15:55:04 +0000
Message-ID: <E1qnhjk-007K76-HC@gemulon.postgresql.org> (raw)

Remove IndexInfo.ii_OpclassOptions field

It is unnecessary to include this field in IndexInfo.  It is only used
by DDL code, not during execution.  It is really only used to pass
local information around between functions in index.c and indexcmds.c,
for which it is clearer to use local variables, like in similar cases.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/784162357130f63b5130cd6517db21451692f9b3

Modified Files
--------------
src/backend/catalog/index.c      | 33 +++++++++++++++------------------
src/backend/catalog/toasting.c   |  3 +--
src/backend/commands/indexcmds.c | 30 +++++++++++++++++-------------
src/backend/nodes/makefuncs.c    |  3 ---
src/include/catalog/index.h      |  1 +
src/include/nodes/execnodes.h    |  1 -
6 files changed, 34 insertions(+), 37 deletions(-)



Message-ID: <E1qnhjk-007K76-HC@gemulon.postgresql.org>
Permalink:  ../E1qnhjk-007K76-HC@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qnhjk-007K76-HC@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove IndexInfo.ii_OpclassOptions field
  In-Reply-To: <E1qnhjk-007K76-HC@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox