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.
--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support