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
5a67d761
Commit
5a67d761
authored
Aug 13, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify trigger function return convention, per Thomas Hallgren.
parent
79f9ee9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
doc/src/sgml/trigger.sgml
doc/src/sgml/trigger.sgml
+5
-3
No files found.
doc/src/sgml/trigger.sgml
View file @
5a67d761
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/trigger.sgml,v 1.3
5 2004/03/03 22:22:24 neilc
Exp $
$PostgreSQL: pgsql/doc/src/sgml/trigger.sgml,v 1.3
6 2004/08/13 16:17:19 tgl
Exp $
-->
-->
<chapter id="triggers">
<chapter id="triggers">
...
@@ -431,8 +431,10 @@ typedef struct Trigger
...
@@ -431,8 +431,10 @@ typedef struct Trigger
</para>
</para>
<para>
<para>
A trigger function must return either <symbol>NULL</> or a
A trigger function must return either a
<structname>HeapTuple</> pointer. Be careful to return either
<structname>HeapTuple</> pointer or a <symbol>NULL</> pointer
(<emphasis>not</> a SQL NULL, that is, do not set isNull true).
Be careful to return either
<structfield>tg_trigtuple</> or <structfield>tg_newtuple</>,
<structfield>tg_trigtuple</> or <structfield>tg_newtuple</>,
as appropriate, if you don't want to modify the row being operated on.
as appropriate, if you don't want to modify the row being operated on.
</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