File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 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>
254253SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill';
You can’t perform that action at this time.
0 commit comments