From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | lt <ltshadow(at)basecity(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: foreign key question: the backend end the connection |
Date: | 2000-10-10 16:33:59 |
Message-ID: | Pine.BSF.4.10.10010100931200.27964-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Have you renamed any tables used in the foreign keys
(or dumped and restored with different names or some
missing tables). Under 7.0.2 and earlier there is
a problem with postgres crashing if a constraint trigger
has bad values (due to renames or incomplete restores).
This should be fixed for 7.1 with a message that it's
unable to find the tablename. I believe that if you
look through the archives (I forget which list though),
you will find a patch for 7.0.2 that will turn the
crash into an exception message with more information.
Stephan Szabo
sszabo(at)bigpanda(dot)com
On Tue, 10 Oct 2000, lt wrote:
> Hi,
> I am using Postgresql 7.0.2, and have used some foreign key in my database, but I get some error like "the backend ended the connection" where I am trying to insert or delete a row to the master table(Delete cascade and update cascade). Of course, this error is no use to find the reason. So I am forced to forget foreign keys.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Gunnar Lindholm | 2000-10-10 17:03:52 | Re: help |
Previous Message | Oleg Bartunov | 2000-10-10 13:52:07 | Re: PostgreSQL encoding question |