pgsql: Rename IndexInfo.ii_KeyAttrNumbers array

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename IndexInfo.ii_KeyAttrNumbers array
Date: 2018-04-12 10:03:40
Message-ID: E1f6Z4v-0001my-02@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename IndexInfo.ii_KeyAttrNumbers array

Rename ii_KeyAttrNumbers to ii_IndexAttrNumbers to prevent confusion with
ii_NumIndexAttrs/ii_NumIndexKeyAttrs. ii_IndexAttrNumbers contains
all attributes including "including" columns, not only key attribute.

Discussion: https://www.postgresql.org/message-id/13123421-1d52-d0e4-c95c-6d69011e0595%40sigaev.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c9c875a28fa6cbc38c227fb9e656dd7be948166f

Modified Files
--------------
src/backend/catalog/index.c | 24 ++++++++++++------------
src/backend/catalog/toasting.c | 4 ++--
src/backend/commands/analyze.c | 2 +-
src/backend/commands/indexcmds.c | 10 +++++-----
src/backend/utils/cache/relcache.c | 2 +-
src/backend/utils/sort/tuplesort.c | 14 +++++++-------
src/include/nodes/execnodes.h | 2 +-
7 files changed, 29 insertions(+), 29 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2018-04-12 11:40:34 pgsql: Revert MERGE patch
Previous Message Alvaro Herrera 2018-04-12 00:38:30 pgsql: Set relispartition correctly for index partitions