aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/execnodes.h
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2018-04-12 13:02:45 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2018-04-12 13:02:45 +0300
commitc9c875a28fa6cbc38c227fb9e656dd7be948166f (patch)
tree7ccb3927b72c55294e052999e11bced233b04499 /src/include/nodes/execnodes.h
parent9e9befac4a2228ae8a5309900645ecd8ead69f53 (diff)
downloadpostgresql-c9c875a28fa6cbc38c227fb9e656dd7be948166f.tar.gz
postgresql-c9c875a28fa6cbc38c227fb9e656dd7be948166f.zip
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
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r--src/include/nodes/execnodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index deab8754663..c53e1132697 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -150,7 +150,7 @@ typedef struct IndexInfo
NodeTag type;
int ii_NumIndexAttrs; /* total number of columns in index */
int ii_NumIndexKeyAttrs; /* number of key columns in index */
- AttrNumber ii_KeyAttrNumbers[INDEX_MAX_KEYS];
+ AttrNumber ii_IndexAttrNumbers[INDEX_MAX_KEYS];
List *ii_Expressions; /* list of Expr */
List *ii_ExpressionsState; /* list of ExprState */
List *ii_Predicate; /* list of Expr */