Search Postgresql Archives

Re: basic trigger using OLD not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rick.casey@xxxxxxxxxxxx (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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux