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
8ba4ccda
Commit
8ba4ccda
authored
8 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Docs: improve examples about not repeating table name in UPDATE ... SET.
Alexander Law
parent
262c1b2e
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/src/sgml/ref/insert.sgml
+2
-2
2 additions, 2 deletions
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/update.sgml
+1
-1
1 addition, 1 deletion
doc/src/sgml/ref/update.sgml
with
3 additions
and
3 deletions
doc/src/sgml/ref/insert.sgml
+
2
−
2
View file @
8ba4ccda
...
...
@@ -194,8 +194,8 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
column leaves the other fields null.) When referencing a
column with <literal>ON CONFLICT DO UPDATE</>, do not include
the table's name in the specification of a target column. For
example, <literal>INSERT ... ON CONFLICT DO UPDATE
tab SET
table_name.col = 1</> is invalid (this follows the general
example, <literal>INSERT
INTO table_name
... ON CONFLICT DO UPDATE
SET
table_name.col = 1</> is invalid (this follows the general
behavior for <command>UPDATE</>).
</para>
</listitem>
...
...
This diff is collapsed.
Click to expand it.
doc/src/sgml/ref/update.sgml
+
1
−
1
View file @
8ba4ccda
...
...
@@ -123,7 +123,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
The column name can be qualified with a subfield name or array
subscript, if needed. Do not include the table's name in the
specification of a target column — for example,
<literal>UPDATE tab SET tab.col = 1</> is invalid.
<literal>UPDATE tab
le_name
SET tab
le_name
.col = 1</> is invalid.
</para>
</listitem>
</varlistentry>
...
...
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