pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
A very small typo in the comment
2+ messages / 2 participants
[nested] [flat]

* A very small typo in the comment
@ 2013-01-04 16:21 孟庆钟 <1584171677@qq.com>
  2013-01-05 18:29 ` Re: A very small typo in the comment Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: 孟庆钟 @ 2013-01-04 16:21 UTC (permalink / raw)
  To: pgsql-bugs

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: A very small typo in the comment
  2013-01-04 16:21 A very small typo in the comment 孟庆钟 <1584171677@qq.com>
@ 2013-01-05 18:29 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2013-01-05 18:29 UTC (permalink / raw)
  To: 孟庆钟 <1584171677@qq.com>; +Cc: pgsql-bugs

"=?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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2013-01-05 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-01-04 16:21 A very small typo in the comment 孟庆钟 <1584171677@qq.com>
2013-01-05 18:29 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox