trigger troubles

From: James Gregory <james(at)anchor(dot)net(dot)au>
To: PostgreSQL general list <pgsql-general(at)postgresql(dot)org>
Subject: trigger troubles
Date: 2003-03-20 14:35:01
Message-ID: 1048170900.8571.1.camel@pirate.bridge.anchor.net.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Why does this not work? It's a plpython function if that changes
anything

perversity=# \df for*
List of functions
Result data type | Schema | Name | Argument data types
------------------+------------+-------------------+---------------------
text | pg_catalog | format_type | oid, integer
"trigger" | public | foreign_key_check | text
(2 rows)

perversity=# create trigger f_foreign_key_check before insert or update
on f for each row execute procedure foreign_key_check ('f');
ERROR: CreateTrigger: function foreign_key_check() does not exist
perversity=#

James.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-03-20 15:04:42 Re: search_path for schemas
Previous Message Liu, Mingyi 2003-03-20 14:05:24 transaction problem (delete/select/insert sequence fails, a bug?)