Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
61dd737c
Commit
61dd737c
authored
Oct 10, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document DELETE/UPDATE command tag behavior when triggers are involved.
Marti Raudsepp
parent
0ff7ea5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
doc/src/sgml/ref/delete.sgml
doc/src/sgml/ref/delete.sgml
+6
-4
doc/src/sgml/ref/update.sgml
doc/src/sgml/ref/update.sgml
+6
-4
No files found.
doc/src/sgml/ref/delete.sgml
View file @
61dd737c
...
@@ -206,10 +206,12 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table</replaceable> [ [ AS ]
...
@@ -206,10 +206,12 @@ DELETE FROM [ ONLY ] <replaceable class="PARAMETER">table</replaceable> [ [ AS ]
DELETE <replaceable class="parameter">count</replaceable>
DELETE <replaceable class="parameter">count</replaceable>
</screen>
</screen>
The <replaceable class="parameter">count</replaceable> is the number
The <replaceable class="parameter">count</replaceable> is the number
of rows deleted. If <replaceable class="parameter">count</replaceable> is
of rows deleted. Note that the number may be less than the number of
0, no rows matched the <replaceable
rows that matched the <replaceable
class="parameter">condition</replaceable> (this is not considered
class="parameter">condition</replaceable> when deletes were
an error).
suppressed by a <literal>BEFORE DELETE</> trigger. If <replaceable
class="parameter">count</replaceable> is 0, no rows were deleted by
the query (this is not considered an error).
</para>
</para>
<para>
<para>
...
...
doc/src/sgml/ref/update.sgml
View file @
61dd737c
...
@@ -226,10 +226,12 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table</replaceable> [ [ AS ] <rep
...
@@ -226,10 +226,12 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table</replaceable> [ [ AS ] <rep
UPDATE <replaceable class="parameter">count</replaceable>
UPDATE <replaceable class="parameter">count</replaceable>
</screen>
</screen>
The <replaceable class="parameter">count</replaceable> is the number
The <replaceable class="parameter">count</replaceable> is the number
of rows updated. If <replaceable class="parameter">count</replaceable> is
of rows updated, including matched rows whose values did not change.
0, no rows matched the <replaceable
Note that the number may be less than the number of rows that matched
class="parameter">condition</replaceable> (this is not considered
the <replaceable class="parameter">condition</replaceable> when
an error).
updates were suppressed by a <literal>BEFORE UPDATE</> trigger. If
<replaceable class="parameter">count</replaceable> is 0, no rows were
updated by the query (this is not considered an error).
</para>
</para>
<para>
<para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment