Trigger Function return values

From: "Andy Chambers" <achambers(at)mcna(dot)net>
To: "Postgresql (General)" <pgsql-general(at)postgresql(dot)org>
Subject: Trigger Function return values
Date: 2011-03-22 22:12:56
Message-ID: op.vsrmnud5cqhz04@vaio.mcnaitdept
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

How is the return value of a trigger function defined in plpgsql used? I
can't find
anything in the documentation but some of the examples return NULL, and
others return
something like NEW.

It seems that if the return statement is omitted, an error occurs when the
trigger is
fired.

--
Andy Chambers

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David W Noon 2011-03-22 22:21:55 Re: Weird problems with C extension and bytea as input type
Previous Message Tomas Vondra 2011-03-22 21:56:50 Re: postgres conferences missing videos?