Re: Trigger function returning null - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Trigger function returning null
Date
Msg-id 24291.1092413930@sss.pgh.pa.us
Whole thread Raw
In response to Trigger function returning null  (Thomas Hallgren <thhal@mailblocks.com>)
List pgsql-hackers
Thomas Hallgren <thhal@mailblocks.com> writes:
> Perhaps you should either change this behavior or make a note it in 
> "Writing Trigger Functions in C"?

Okay, I've changed the text thusly:

diff -r1.35 trigger.sgml
434,435c434,437
<     A trigger function must return either <symbol>NULL</> or a
<     <structname>HeapTuple</> pointer.  Be careful to return either
---
>     A trigger function must return either a
>     <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
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Ready for Beta ... ?
Next
From: Andreas Krennmair
Date:
Subject: PostgreSQL 8.0.0beta1 and diet libc