Re: DO INSTEAD and conditional rules

Поиск
Список
Период
Сортировка
От David Wheeler
Тема Re: DO INSTEAD and conditional rules
Дата
Msg-id a8c21dce0ade483cf13d0c7b13dbda45@kineticode.com
обсуждение исходный текст
Ответ на Re: DO INSTEAD and conditional rules  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Apr 26, 2005, at 11:20 AM, Tom Lane wrote:

> The problem is that OLD is effectively a macro for the view, and once
> you've deleted one of the rows, that ID is no longer present anywhere 
> in
> the view.  Sometimes you can work around this by making the join an
> outer join, but that's certainly a kluge.

Yah.

> I don't think it's fixable without a fundamental rethinking of the
> feature.

Well, I'm not to worried about it for my current needs, but I can sure 
see how it would be unexpected and really bite someone.

So has anyone else done any rethinking of rules?

Cheers,

David



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

Предыдущее
От: David Wheeler
Дата:
Сообщение: Re: DO INSTEAD and conditional rules
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: How to make lazy VACUUM of one table run in several