Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrYUx-0008BZ-60 for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Jan 2013 18:29:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TrYUw-0002s5-Mo for pgsql-bugs@arkaria.postgresql.org; Sat, 05 Jan 2013 18:29:34 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrYUw-0002s0-6z for pgsql-bugs@postgresql.org; Sat, 05 Jan 2013 18:29:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TrYUt-0002A4-9o for pgsql-bugs@postgresql.org; Sat, 05 Jan 2013 18:29:33 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r05ITS1O024426; Sat, 5 Jan 2013 13:29:28 -0500 (EST) From: Tom Lane To: "=?gb18030?B?w8/H7NbT?=" <1584171677@qq.com> cc: "=?gb18030?B?cGdzcWwtYnVncw==?=" Subject: Re: A very small typo in the comment In-reply-to: References: Comments: In-reply-to "=?gb18030?B?w8/H7NbT?=" <1584171677@qq.com> message dated "Sat, 05 Jan 2013 00:21:35 +0800" Date: Sat, 05 Jan 2013 13:29:28 -0500 Message-ID: <24425.1357410568@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org "=?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