bug or feature? (regarding rules)

Поиск
Список
Период
Сортировка
От Jeff Hoffmann
Тема bug or feature? (regarding rules)
Дата
Msg-id 39356C59.4F04A9CF@propertykey.com
обсуждение исходный текст
Список pgsql-hackers
this is a pretty minor thing, but i just dropped a table that is acted
on by a rule declared as part of another table and i'm wondering if this
is the expected (or more importantly the desired) behavior.  basically
the rule deletes all of the rows of table two with same id as was
deleted in table one. when i drop table two, it lets me do it without
any notice of there being a rule that affects this table & then when i
try to do a delete on table one, it gives me an error.  i'm not sure how
other databases handle this, but it seems to me that i should have at
least been warned that there is a dependency there when i dropped the
table if not being disallowed from dropping the table altogether until i
drop the rule. 

jeff


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: config files in /data
Следующее
От: Bruce Momjian
Дата:
Сообщение: more cvs problems