]> granicus.if.org Git - postgresql/commitdiff
Fix IndexInfo comments.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 30 Aug 2018 06:08:33 +0000 (09:08 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 30 Aug 2018 06:08:33 +0000 (09:08 +0300)
Recently, ii_KeyAttrNumbers was renamed to ii_IndexAttrNumbers, and ii_Am
field was added, but the comments were not updated.

Author: Yugo Nagata
Discussion: https://www.postgresql.org/message-id/20180830134831.e35a91b8b978b248c16c8f7b@sraoss.co.jp

src/include/nodes/execnodes.h

index 41fa2052a210c0e5757ebb8716d0198adad525ad..c830f141b1682ad743f7cb33e90d080963f90c8c 100644 (file)
@@ -120,7 +120,7 @@ typedef struct ExprState
  *
  *             NumIndexAttrs           total number of columns in this index
  *             NumIndexKeyAttrs        number of key columns in index
- *             KeyAttrNumbers          underlying-rel attribute numbers used as keys
+ *             IndexAttrNumbers        underlying-rel attribute numbers used as keys
  *                                                     (zeroes indicate expressions). It also contains
  *                                                     info about included columns.
  *             Expressions                     expr trees for expression entries, or NIL if none
@@ -138,6 +138,7 @@ typedef struct ExprState
  *             Concurrent                      are we doing a concurrent index build?
  *             BrokenHotChain          did we detect any broken HOT chains?
  *             ParallelWorkers         # of workers requested (excludes leader)
+ *             Am                                      Oid of index AM
  *             AmCache                         private cache area for index AM
  *             Context                         memory context holding this IndexInfo
  *