I think i already discovered what's the problem !! At least the problem is not
happening again.
It was some problems in some triggers that are implementend in the database.
Anyway, i appreciatte all the time that you took with my problem
Best Regards
Luis Sousa
Stephan Szabo wrote:
I really have constraints of foreign keys but not on delete, only on update
Stephan Szabo wrote:
Did you perhaps have foreign key constraints with an on delete
clause defined on a table that referenced this one? Postgres doesn't
currently check that the types are comparable before making
Actually, it's not going to matter since all foreign keys have a delete
portion (realized after seeing your response) that checks to make sure
the one you are deleting is not being referenced.
I'm surprised you're not seeing this on inserts into the fk table or
on updates to the pk table. What
But i'm not making any compare.
I just wrote delete from table; and i receive that message.
Hmm. We will need to know more about your setup, since a simple
delete from table;
in psql does not involve *any* comparisons, and should never provoke the
message you are receiving.
Perhaps
Did you perhaps have foreign key constraints with an on delete
clause defined on a table that referenced this one? Postgres doesn't
currently check that the types are comparable before making the
constraint. I'm working on adding a check for that now.
Or for that matter, any other rules or