projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79f9ee9
)
Clarify trigger function return convention, per Thomas Hallgren.
author
Tom Lane
Fri, 13 Aug 2004 16:17:19 +0000
(16:17 +0000)
committer
Tom Lane
Fri, 13 Aug 2004 16:17:19 +0000
(16:17 +0000)
doc/src/sgml/trigger.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/trigger.sgml
b/doc/src/sgml/trigger.sgml
index a8ee6c7d9515926ceeba37d2b6d6347ce01164b4..56dfec80e6cd9715ff3e4f8479fd6863524d70a5 100644
(file)
--- a/
doc/src/sgml/trigger.sgml
+++ b/
doc/src/sgml/trigger.sgml
@@
-1,5
+1,5
@@
@@
-431,8
+431,10
@@
typedef struct Trigger
- A trigger function must return either
NULL> or a
-
HeapTuple> pointer. Be careful to return either
+ A trigger function must return either a
+
HeapTuple> pointer or a
NULL> pointer
+ (
not> a SQL NULL, that is, do not set isNull true).
+ Be careful to return either
tg_trigtuple> or
tg_newtuple>,
as appropriate, if you don't want to modify the row being operated on.