From 5de1551a38008dba872d8addad7a050b2cf25ac5 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 2 Mar 2007 06:01:01 +0000 Subject: [PATCH] Fix broken markup, improve wording. --- doc/src/sgml/array.sgml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/array.sgml b/doc/src/sgml/array.sgml index ed65c324f2..524b69df10 100644 --- a/doc/src/sgml/array.sgml +++ b/doc/src/sgml/array.sgml @@ -243,12 +243,11 @@ SELECT schedule[1:2][1:1] FROM sal_emp WHERE name = 'Bill'; (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 + If any dimension is written as a slice, i.e. contains a colon, then all + dimensions are treated as slices. Any dimension that has only a single + number (no colon) is treated as being from 1 to the number specified. For example, [2] is treated as - [1:2], as in this example: + [1:2], as in this example: SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill'; -- 2.39.5