Re: Materialized views in PostgreSQL?

From: Jan Wieck <janwieck(at)Yahoo(dot)com>
To: "Daniel P(dot) Katz" <dankatz(at)lucent(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Materialized views in PostgreSQL?
Date: 2000-09-08 11:04:25
Message-ID: 200009081104.GAA01339@jupiter.jw.home
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Daniel P. Katz wrote:
>
> Hi.
>
> Does PostgreSQL 7.0 support materialized views? Sorry if this
> is a FAQ, but I didn't find it in the FAQ list, the users guide, or
> the archives for this list.

No.

PostgreSQL uses a query rewriting technique to implement
views. That means, that before any data is retrieved by a
query, it is rewritten as if the user did use the relations
and qualifications of the view. So the query execution
engine is never faced with views, it only hits real tables.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck(at)Yahoo(dot)com #

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Brzezinski 2000-09-08 12:32:21 count(*) from view??
Previous Message Zeljko Trogrlic 2000-09-08 10:56:32 Re: JDBC