Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken
Дата
Msg-id CA+TgmoZ387tKtwBHDJdir-cbTyRSGGK8nFeP5FHcHWS2QXnNWw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Fri, Nov 4, 2011 at 1:21 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Thu, Nov 3, 2011 at 5:07 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> We probably ought to have something in there to throw an error ...
>
>> Probably not for rules in general, but we shouldn't let people turn
>> tables into views if they are involved in table inheritance, as either
>> a parent or a child.
>
> Well, what I had in mind was disallowing any rules to be attached to an
> inheritance child, because they won't get expanded. =A0However, you have a
> point I guess: someone could conceivably want to have a rule that only
> takes effect when a child is accessed directly.

Right.

We've occasionally talked about deprecating non-SELECT rules anyway,
on the grounds that the results are often surprisingly and almost
never what you actually wanted.  But that problem goes far beyond
inheritance hierarchies.

--=20
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6281: need to remove
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #6281: need to remove