Обсуждение: ERROR: CreateTrigger: function check_primary_key() does not exist

Поиск
Список
Период
Сортировка

ERROR: CreateTrigger: function check_primary_key() does not exist

От
pgsql-bugs@postgresql.org
Дата:
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

Please help me!

Sample Code


No file was uploaded with this report

Re: ERROR: CreateTrigger: function check_primary_key() does not exist

От
Stephan Szabo
Дата:
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)