Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 50acd42

Browse files
committed
Fix broken markup, improve wording.
1 parent fb27643 commit 50acd42

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

doc/src/sgml/array.sgml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/array.sgml,v 1.58 2007/02/20 14:54:47 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/array.sgml,v 1.59 2007/03/02 06:01:01 tgl Exp $ -->
22

33
<sect1 id="arrays">
44
<title>Arrays</title>
@@ -243,12 +243,11 @@ SELECT schedule[1:2][1:1] FROM sal_emp WHERE name = 'Bill';
243243
(1 row)
244244
</programlisting>
245245

246-
If any dimension is written as a slice, i.e contains a colon, then all
247-
dimensions are treated as slices. If a dimension is missing, it is
248-
assumed to be <literal>[1:1]</>. If a dimension has only a single
249-
number (no colon), that dimension is treated as being from <literal>1</>
246+
If any dimension is written as a slice, i.e. contains a colon, then all
247+
dimensions are treated as slices. Any dimension that has only a single
248+
number (no colon) is treated as being from <literal>1</>
250249
to the number specified. For example, <literal>[2]</> is treated as
251-
<literal>[1:2], as in this example:
250+
<literal>[1:2]</>, as in this example:
252251

253252
<programlisting>
254253
SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill';

0 commit comments

Comments
 (0)