Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> Scara Maccai <m_lists@yahoo.it> writes:
>>> I got that there should be no difference... plus, I don't get any
>>> errors,
>>
>> You should have. The system enforces (or tries to) that a view can't be
>> part of an inheritance hierarchy, but you seem to have managed to find a
>> sequence of operations that avoids those checks. Turning a table into a
>> view with a manual CREATE RULE operation has always been a kluge, and
>> it's missing a check that the table isn't part of an inheritance tree.
> Is this a TODO? Seems so.
I think it's just a minor bugfix, but if you want to put it in TODO for
a day or two, go ahead...
regards, tom lane