|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/array.sgml,v 1.57 2007/02/20 14:34:25 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/array.sgml,v 1.58 2007/02/20 14:54:47 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <sect1 id="arrays"> |
4 | 4 | <title>Arrays</title> |
@@ -243,10 +243,10 @@ SELECT schedule[1:2][1:1] FROM sal_emp WHERE name = 'Bill'; |
243 | 243 | (1 row) |
244 | 244 | </programlisting> |
245 | 245 |
|
246 | | - If anydimmension is written as a slice, i.e contains a colon, then all |
247 | | -dimmensions are treated as slices. If adimmension is missing, it is |
248 | | - assumed to be <literal>[1:1]</>. If adimmension has only a single |
249 | | - number (no colon), thatdimmension is treated as being from <literal>1</> |
| 246 | + If anydimension is written as a slice, i.e contains a colon, then all |
| 247 | +dimensions are treated as slices. If adimension is missing, it is |
| 248 | + assumed to be <literal>[1:1]</>. If adimension has only a single |
| 249 | + number (no colon), thatdimension is treated as being from <literal>1</> |
250 | 250 | to the number specified. For example, <literal>[2]</> is treated as |
251 | 251 | <literal>[1:2], as in this example: |
252 | 252 |
|
|