Re: basic trigger using OLD not working?

From: Edmund Bacon <ebacon-xlii(at)onesystem(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: basic trigger using OLD not working?
Date: 2005-02-24 23:13:01
Message-ID: m3psypk0w2.fsf@elb_lx.onesystem.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

rick(dot)casey(at)colorado(dot)edu (Rick Casey) writes:

> CREATE OR REPLACE FUNCTION logPedigreesDel() RETURNS TRIGGER AS '
> begin
> RAISE EXCEPTION ''OLD.famindid = '', OLD.famindid;

RAISE EXCEPTION ''OLD.famindid = %'', OLD.famindid;
^
> return OLD;
> end;
> ' LANGUAGE plpgsql;
>

--
Remove -42 for email

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Postgres Coder 2005-02-24 23:46:28 Which query is less expensive / faster?
Previous Message Ron Mayer 2005-02-24 23:08:34 Re: [PATCHES] A way to let Vacuum warn if FSM settings are low.