Re: basic trigger using OLD not working? - Mailing list pgsql-general

From Edmund Bacon
Subject Re: basic trigger using OLD not working?
Date
Msg-id m3psypk0w2.fsf@elb_lx.onesystem.ca
Whole thread Raw
In response to basic trigger using OLD not working?  (Rick Casey <rick.casey@colorado.edu>)
List pgsql-general
rick.casey@colorado.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

pgsql-general by date:

Previous
From: "Andrew Hall"
Date:
Subject: Re: Lost rows/data corruption?
Next
From: Ron Mayer
Date:
Subject: multicolumn GIST index question