Re: Materialized views WIP patch - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Materialized views WIP patch
Date
Msg-id CA+TgmoYHzsUDUebuQbR8ugvfz+dL1uRYdYEZ+ABbZJcMbmtKiA@mail.gmail.com
Whole thread Raw
In response to Re: Materialized views WIP patch  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
On Thu, Mar 7, 2013 at 12:14 PM, David E. Wheeler <david@justatheory.com> wrote:
> On Mar 7, 2013, at 7:55 AM, Kevin Grittner <kgrittn@ymail.com> wrote:
>>> If the answer to both those questions is “yes,” I think the term
>>> should remain “table,” with a few mentions that the term includes
>>> materialized views (and excludes foreign tables).
>>
>> And if the answers are "not exactly" and "yes"?
>
> I still tend to think that the term should remain “table,” with brief mentions at the top of pages when the term
shouldbe assumed to represent tables and matviews, and otherwise required disambiguations. 

This ship has already sailed.  There are plenty of places where
operations apply to a subset of the relation types that exist today,
and we either list them out or refer to "relations" generically.
Changing that would require widespread changes to both the
documentation and existing error message text.  We cannot decide that
"table" now means "table or materialized view" any more than we can
decide that it means "table or foreign table", as was proposed around
the time those changes went in.  Yeah, it's more work, and it's a
little annoying, but it's also clear.  Nothing else is.

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



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Index Unqiueness
Next
From: Robert Haas
Date:
Subject: Re: sql_drop Event Triggerg