Re: and it's not a bunny rabbit, either

Alvaro Herrera <alvherre@commandprompt.com>

From: Alvaro Herrera <alvherre@commandprompt.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, Itagaki Takahiro <itagaki.takahiro@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2010-12-29T19:42:08Z
Lists: pgsql-hackers
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