Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 4E95C9FB51E for ; Fri, 2 Mar 2007 01:31:56 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 99265-05 for ; Fri, 2 Mar 2007 01:31:46 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sraihb2.sra.co.jp (sraihb2.sra.co.jp [202.32.10.6]) by postgresql.org (Postfix) with ESMTP id B627B9FB4F7 for ; Fri, 2 Mar 2007 01:31:52 -0400 (AST) Received: from srascb.sra.co.jp (srascb [133.137.8.65]) by sraihb2.sra.co.jp (Postfix) with ESMTP id 90D0C2A17D6 for ; Fri, 2 Mar 2007 14:31:51 +0900 (JST) Received: from srascb.sra.co.jp (localhost [127.0.0.1]) by localhost.sra.co.jp (Postfix) with ESMTP id 7ED9210CD06 for ; Fri, 2 Mar 2007 14:31:51 +0900 (JST) Received: from sranhm.sra.co.jp (sranhm [133.137.16.38]) by srascb.sra.co.jp (Postfix) with ESMTP id 6A80910CD04 for ; Fri, 2 Mar 2007 14:31:51 +0900 (JST) Received: from localhost (dhcp-17-149.sra.co.jp [133.137.17.149]) by sranhm.sra.co.jp (8.9.3+3.2W/3.7W-srambox) with ESMTP id OAA31329 for ; Fri, 2 Mar 2007 14:31:51 +0900 Date: Fri, 02 Mar 2007 14:32:11 +0900 (JST) Message-Id: <20070302.143211.22522298.t-ishii@sraoss.co.jp> To: pgsql-hackers@postgresql.org Subject: broken doc From: Tatsuo Ishii X-Mailer: Mew version 4.2 on Emacs 21.4 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIp?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.051 tagged_above=0 required=5 tests=AWL, BAYES_50 X-Spam-Level: X-Archive-Number: 200703/99 X-Sequence-Number: 99583 CVS HEAD doc won't compile due to broken mark up. Please someone commit following patches if they are appropreate. Also please do not commit broken sgml files without trying to compile them. -- Tatsuo Ishii SRA OSS, Inc. Japan Index: array.sgml =================================================================== RCS file: /cvsroot/pgsql/doc/src/sgml/array.sgml,v retrieving revision 1.58 diff -c -r1.58 array.sgml *** array.sgml 20 Feb 2007 14:54:47 -0000 1.58 --- array.sgml 2 Mar 2007 05:29:24 -0000 *************** *** 243,254 **** (1 row) If any dimension is written as a slice, i.e contains a colon, then all dimensions are treated as slices. If a dimension is missing, it is assumed to be [1:1]. If a dimension has only a single number (no colon), that dimension is treated as being from 1 to the number specified. For example, [2] is treated as ! [1:2], as in this example: SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill'; --- 243,257 ---- (1 row) + + + If any dimension is written as a slice, i.e contains a colon, then all dimensions are treated as slices. If a dimension is missing, it is assumed to be [1:1]. If a dimension has only a single number (no colon), that dimension is treated as being from 1 to the number specified. For example, [2] is treated as ! [1:2], as in this example: SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill'; [t-ishii@localhost sgml]$