Re: MERGE command for inheritance
| От | Peter Eisentraut |
|---|---|
| Тема | Re: MERGE command for inheritance |
| Дата | |
| Msg-id | 1281448982.19111.3.camel@fsopti579.F-Secure.com обсуждение |
| Ответ на | MERGE command for inheritance (Boxuan Zhai <bxzhai2010@gmail.com>) |
| Список | pgsql-hackers |
On tis, 2010-08-10 at 17:38 +0800, Boxuan Zhai wrote: > I am not sure if inheritance of MERGE is needed by postgres. Yes, it is. > PS: for my investigation on the inheritance actions, I find that > although the children tables are modified by the UPDATE or DELETE > commands on their ancestor tables, the rules defined on them are not > activated during the query. Is this the case (I hope I am not asking a > stupid question)? And, if so, I may ask why we want it to act like > this. Your observation is correct. You could probably argue this way or that about how it should have been designed 20+ years ago, but this is how it is. In general, I wouldn't design new functionality on top of rules. Rules are pretty broken in many ways.
В списке pgsql-hackers по дате отправления: