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
9d9eadea
Commit
9d9eadea
authored
28 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
add FROM to update page, clean up spelling error in select.
parent
f6792efc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/man/select.l
+2
-2
2 additions, 2 deletions
doc/man/select.l
doc/man/update.l
+7
-5
7 additions, 5 deletions
doc/man/update.l
with
9 additions
and
7 deletions
doc/man/select.l
+
2
−
2
View file @
9d9eadea
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/doc/man/Attic/select.l,v 1.
1.1.1
1996/
08/18 2
2:
1
4:
27 scrappy
Exp $
.\" $Header: /cvsroot/pgsql/doc/man/Attic/select.l,v 1.
2
1996/
10/07 0
2:
3
4:
53 momjian
Exp $
.TH SELECT SQL 11/05/95 Postgres95 Postgres95
.TH SELECT SQL 11/05/95 Postgres95 Postgres95
.SH NAME
.SH NAME
select \(em retrieve instances from a class
select \(em retrieve instances from a class
...
@@ -10,7 +10,7 @@ select \(em retrieve instances from a class
...
@@ -10,7 +10,7 @@ select \(em retrieve instances from a class
expression1 [\fBas\fR attr_name-1]
expression1 [\fBas\fR attr_name-1]
{, expression-1 [\fBas\fR attr_name-i]}
{, expression-1 [\fBas\fR attr_name-i]}
[\fBinto\fR \fBtable\fR classname]
[\fBinto\fR \fBtable\fR classname]
[\fBfrom\fR from-l
a
st]
[\fBfrom\fR from-l
i
st]
[\fBwhere\fR where-clause]
[\fBwhere\fR where-clause]
[\fBgroup by\fR attr_name1 {, attr_name-i....}
[\fBgroup by\fR attr_name1 {, attr_name-i....}
[\fBorder by\fR attr_name1
[\fBorder by\fR attr_name1
...
...
This diff is collapsed.
Click to expand it.
doc/man/update.l
+
7
−
5
View file @
9d9eadea
.\" This is -*-nroff-*-
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/doc/man/Attic/update.l,v 1.
1.1.1
1996/
08/18 2
2:
1
4:
28 scrappy
Exp $
.\" $Header: /cvsroot/pgsql/doc/man/Attic/update.l,v 1.
2
1996/
10/07 0
2:
3
4:
54 momjian
Exp $
.TH UPDATE SQL 11/05/95 Postgres95 Postgres95
.TH UPDATE SQL 11/05/95 Postgres95 Postgres95
.SH NAME
.SH NAME
update \(em replace values of attributes in a class
update \(em replace values of attributes in a class
...
@@ -8,21 +8,23 @@ update \(em replace values of attributes in a class
...
@@ -8,21 +8,23 @@ update \(em replace values of attributes in a class
.nf
.nf
\fBupdate\fR classname \fBset\fR attname-1 = expression-1,
\fBupdate\fR classname \fBset\fR attname-1 = expression-1,
{attname-i = expression-i}
{attname-i = expression-i}
[\fBfrom\fR from-list]
[\fBwhere\fR qual]
[\fBwhere\fR qual]
.fi
.fi
.SH DESCRIPTION
.SH DESCRIPTION
.BR Update
.BR Update
changes the values of the attributes specified in
changes the values of the attributes specified
.IR target_list
for all instances which satisfy the qualification,
for all instances which satisfy the qualification,
.IR qual .
.IR qual .
Only the attributes to be modified need appear in
Only the attributes to be modified need appear as atributes.
.IR target_list .
.PP
.PP
Array references use the same syntax found in
Array references use the same syntax found in
.IR select(l).
.IR select(l).
That is, either single array elements, a range of array elements or
That is, either single array elements, a range of array elements or
the entire array may be replaced with a single query.
the entire array may be replaced with a single query.
.IR from-list
is a non-standard extension to allow columns from
other tables to appear in the target_list.
.PP
.PP
You must have write access to the class in order to modify it, as well
You must have write access to the class in order to modify it, as well
as read access to any class whose values are mentioned in the target list
as read access to any class whose values are mentioned in the target list
...
...
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