Re: Return value in function/trigger

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Jean-Christian Imbeault <jc(at)mega-bucks(dot)co(dot)jp>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Return value in function/trigger
Date: 2002-11-20 03:29:30
Message-ID: 20021119192852.H73969-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Wed, 20 Nov 2002, Jean-Christian Imbeault wrote:

> I have created a trigger and the function executed by the trigger.
> However the function merely updates values in a table and doesn't return
> any result/value. what is the correct way of "returning" nothing?

You could return NULL but new is probably just as good.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Christian Imbeault 2002-11-20 03:48:03 Re: Return value in function/trigger
Previous Message Jean-Christian Imbeault 2002-11-20 02:50:16 Return value in function/trigger