NOTICE: ignoring incomplete trigger group for constraint

From: erobles <erobles(at)sensacd(dot)com(dot)mx>
To: pgsql-general(at)postgresql(dot)org
Subject: NOTICE: ignoring incomplete trigger group for constraint
Date: 2010-05-21 15:35:31
Message-ID: 4BF6A843.4080403@sensacd.com.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Droid Sans">hi !<br>
<br>
I have running&nbsp; postgres 8.3.1&nbsp; and&nbsp;&nbsp; a dump file&nbsp; from postgers 7.2&nbsp;
:-P ,&nbsp;&nbsp; but when&nbsp; i tried to restore the dump i have&nbsp; the next&nbsp;&nbsp;
message:<br>
(by the way&nbsp; i&nbsp;&nbsp; made&nbsp; the dump file using pg_dump of postgresql 8.3)<br>
<br>
<br>
CREATE CONSTRAINT TRIGGER "valida_ent_a_sal" AFTER DELETE ON "ent_a"&nbsp;&nbsp;
INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE
"RI_FKey_noaction_del" ('valida_ent_a_sal', 'sal_d', 'ent_a', 'FULL',
'tagname_ed', 'tagname_ea');
<br>
<br>
psql:lostriggers:10: NOTICE:&nbsp; ignoring incomplete trigger group for
constraint "valida_ent_a_sal" FOREIGN KEY sal_d(tagname_ed) REFERENCES
ent_a(tagname_ea)
<br>
<br>
DETAIL:&nbsp; Found referenced table's DELETE trigger.
<br>
<br>
CREATE TRIGGER
<br>
<br>
and this:<br>
<br>
<br>
CREATE CONSTRAINT TRIGGER "&lt;unnamed&gt;" AFTER UPDATE ON "scenes"&nbsp;
FROM "scenes_sub"&nbsp; INITIALLY IMMEDIATE FOR EACH ROW EXECUTE PROCEDURE
"RI_FKey_noaction_upd" ('&lt;unnamed&gt;', 'scenes_sub', 'scenes',
'UNSPECIFIED', 'scene', 'scene', 'tag', 'tag');
<br>
<br>
psql:lostriggers:965: NOTICE:&nbsp; ignoring incomplete trigger group for
constraint "&lt;unnamed&gt;" FOREIGN KEY scenes_sub(scene,tag)
REFERENCES scenes(scene,tag)
<br>
<br>
DETAIL:&nbsp; Found referenced table's UPDATE trigger.
<br>
CREATE TRIGGER
<br>
<br>
<br>
why some triggers are unnamed???<br>
<br>
Which&nbsp; is the best&nbsp; way&nbsp; to solve this????&nbsp; searching on google&nbsp;&nbsp;
found&nbsp; that i must&nbsp; create foreign keys, but i don't know if&nbsp; is enough
with the creation of the foreign key&nbsp; or if&nbsp; i must create&nbsp; the foreign
key and the constraint&nbsp; too.<br>
<br>
there is an&nbsp; 'automagic'&nbsp; way to&nbsp; convert&nbsp; a constraint into a foreign
key&nbsp; ;-)<br>
<br>
<br>
thanks!<br>
<br>
</font>
</body>
</html>

Attachment Content-Type Size
unknown_filename text/html 2.1 KB

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Hunsberger 2010-05-21 16:09:11 Re: How to lose transaction history (xmin values, WAL, etc.)?
Previous Message Rob Richardson 2010-05-21 15:29:04 Re: Is postgres installed?