Can't get rid of constraint

Поиск
Список
Период
Сортировка
От Matthew Price
Тема Can't get rid of constraint
Дата
Msg-id 20020228.160038.29488.1751@wm2.jersey.juno.com
обсуждение исходный текст
Ответы Re: Can't get rid of constraint  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список 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 по дате отправления:

Предыдущее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: LIKE with no wildcards problem
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Can't get rid of constraint