Thanks for the suggestion, but
CREATE TRIGGER trigger_foo BEFORE INSERT ON foo for each row EXECUTE
PROCEDURE trigger_foo();
gives me the same error.
2011/2/10 Vick Khera <vivek@khera.org>:
> On Thu, Feb 10, 2011 at 9:29 AM, A B <gentosaker@gmail.com> wrote:
>> Can someone help me spot the error? :-)
>>
>
> use a BEFORE INSERT trigger?
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>