A very small typo in the comment

Started by 孟庆钟over 13 years ago2 messagesbugs
Jump to latest
#1孟庆钟
1584171677@qq.com

Hi,
I am a student in China. I have read some source code of postgreSQL, though only a little. I think maybe there is typo in this file: src\backend\catalog\index.c. At line 649 in v9.2.0, line 653 in V9.2.2. The sentence is " *indexInfo: same info executor uses to insert into the index", I think it should not be 'same', but 'some'.
I am not sure if my thoughts is right.
Sorry for my poor English.

Good Luck From Beijing!

Meng Qingzhong

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: 孟庆钟 (#1)
Re: A very small typo in the comment

"=?gb18030?B?w8/H7NbT?=" <1584171677@qq.com> writes:

I am a student in China. I have read some source code of postgreSQL, though only a little. I think maybe there is typo in this file: src\backend\catalog\index.c. At line 649 in v9.2.0, line 653 in V9.2.2. The sentence is " *indexInfo: same info executor uses to insert into the index", I think it should not be 'same', but 'some'.
I am not sure if my thoughts is right.
Sorry for my poor English.

I think "same" is what was intended. The info is in fact the same as
the per-index data structure used by the executor; see
ExecInsertIndexTuples() in execUtils.c.

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs