On Thu, 19 Jul 2001 pgsql-bugs@postgresql.org wrote:
> Young (young@my-feiqi.com) reports a bug with a severity of 2
> The lower the number the more severe it is.
>
> Short Description
> ERROR: CreateTrigger: function check_primary_key() does not exist
>
> Long Description
> I am using 7.1.2
>
> I always got such an error when creating a trigger:
> ERROR: CreateTrigger: function check_primary_key() does not exist
> ERROR: CreateTrigger: function check_foreign_key() does not exist
What specifically were you trying to do?
If you're looking to enforce referential integrity, use the
REFERENCES constraint (should be some info in the docs about
the specifics)