diff options
author | Fujii Masao <fujii@postgresql.org> | 2022-02-18 12:19:10 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2022-02-18 12:19:10 +0900 |
commit | f927a6ec3ef710ad2bd7d9c63f524b7a22d7e664 (patch) | |
tree | f4996fbd740fc77a1f4b1967a8150bb6d0b54948 /src | |
parent | 94c49d53402240ad7ddbcae9049ff2840a54b9c6 (diff) | |
download | postgresql-f927a6ec3ef710ad2bd7d9c63f524b7a22d7e664.tar.gz postgresql-f927a6ec3ef710ad2bd7d9c63f524b7a22d7e664.zip |
Fix comment in CheckIndexCompatible().
Commit 5f173040 removed the parameter "heapRelation" from
CheckIndexCompatible(), but forgot to remove the mention of it
from the comment. This commit removes that unnecessary mention.
Also this commit adds the missing mention of the parameter "oldId"
in the comment.
Author: Yugo Nagata
Reviewed-by: Nathan Bossart, Fujii Masao
Discussion: https://postgr.es/m/20220204014634.b39314f278ff4ae3de96e201@sraoss.co.jp
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/commands/indexcmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index 560dcc87a2c..cd30f15eba6 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -129,7 +129,7 @@ typedef struct ReindexErrorInfo * prospective index definition, such that the existing index storage * could become the storage of the new index, avoiding a rebuild. * - * 'heapRelation': the relation the index would apply to. + * 'oldId': the OID of the existing index * 'accessMethodName': name of the AM to use. * 'attributeList': a list of IndexElem specifying columns and expressions * to index on. |