Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of mié dic 29 16:29:45 -0300 2010:
>> In practice I think it would make sense if heap_open accepts all
>> relation types on which you can potentially do either a heapscan or
>> indexscan (offhand those should be the same set of relkinds, I think;
>> so this is the same in effect as Heikki's proposal, but phrased
>> differently). So it would have to start rejecting views, and we'd need
>> to go looking for the consequences of that.
> This seems a very good idea, but I think we shouldn't let it sink the
> current patch.
No, but possibly regularizing what heap_open is defined to do would make
Robert's patch simpler.
regards, tom lane