Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
50acd427
Commit
50acd427
authored
18 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken markup, improve wording.
parent
fb276438
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/array.sgml
+5
-6
5 additions, 6 deletions
doc/src/sgml/array.sgml
with
5 additions
and
6 deletions
doc/src/sgml/array.sgml
+
5
−
6
View file @
50acd427
<!-- $PostgreSQL: pgsql/doc/src/sgml/array.sgml,v 1.5
8
2007/0
2/20 14:54:47 momjian
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/array.sgml,v 1.5
9
2007/0
3/02 06:01:01 tgl
Exp $ -->
<sect1 id="arrays">
<sect1 id="arrays">
<title>Arrays</title>
<title>Arrays</title>
...
@@ -243,12 +243,11 @@ SELECT schedule[1:2][1:1] FROM sal_emp WHERE name = 'Bill';
...
@@ -243,12 +243,11 @@ SELECT schedule[1:2][1:1] FROM sal_emp WHERE name = 'Bill';
(1 row)
(1 row)
</programlisting>
</programlisting>
If any dimension is written as a slice, i.e contains a colon, then all
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
dimensions are treated as slices. Any dimension that has only a single
assumed to be <literal>[1:1]</>. If a dimension has only a single
number (no colon) is treated as being from <literal>1</>
number (no colon), that dimension is treated as being from <literal>1</>
to the number specified. For example, <literal>[2]</> is treated as
to the number specified. For example, <literal>[2]</> is treated as
<literal>[1:2], as in this example:
<literal>[1:2]
</>
, as in this example:
<programlisting>
<programlisting>
SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill';
SELECT schedule[1:2][2] FROM sal_emp WHERE name = 'Bill';
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment