Can't get rid of constraint - Mailing list pgsql-sql

From Matthew Price
Subject Can't get rid of constraint
Date
Msg-id 20020228.160038.29488.1751@wm2.jersey.juno.com
Whole thread Raw
Responses Re: Can't get rid of constraint  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-sql
Howdy,
I had a table in my database that reference another like:

create table a (1 int, 2 int);
create table b (1 int references a(1));

recently i had to do a:
drop table b;

now i can't:
delete from a where 1='5';

because i get:
ERROR:  Relation 'b' does not exist

How do I get rid of this zombie constraint?

Thanks,
Matthew




________________________________________________________________
GET INTERNET ACCESS FROM JUNO!
Juno offers FREE or PREMIUM Internet access for less!
Join Juno today!  For your FREE software, visit:
http://dl.www.juno.com/get/web/.


pgsql-sql by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: LIKE with no wildcards problem
Next
From: Stephan Szabo
Date:
Subject: Re: Can't get rid of constraint