Hi,
I'm trying to create a trigger with the following definition:
CREATE TRIGGER insert_price_change AFTER INSERT OR DELETE OR UPDATE ON
raw_email
FOR EACH ROW EXECUTE PROCEDURE add_one(1);
Procedure / Function add_one has the following definition
CREATE FUNCTION add_one(integer) RETURNS integer
AS '/usr/local/pgsql/jsb/add_one', 'add_one'
LANGUAGE C STRICT;
function add_one is running fine.
When I try to create the trigger insert_price_change, it throws me the
follwoing error:
ERROR: function add_one() does not exist
However, I can see function add_one(int4) as one of the functions in
pgadmin.
Don't know whats going on wrong.
Thanks,
~Harpreet