=?ISO-8859-15?Q?Torsten_Z=FChlsdorff?= <f...@meisterderspiele.de> writes:
>    NEW.revision := addContentRevision (OLD.content_id, OLD.revision);

>    /* not working line, just a stub:
>    EXECUTE 'INSERT INTO ' || TG_TABLE_NAME  || ' SELECT $1 ' USING NEW;
>    */

>    RETURN NULL;

This seems like the hard way.  Why don't you just RETURN NEW and let the
normal insertion happen?

                        regards, tom lane

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to