Re: Index on a view?? - Mailing list pgsql-general

From Michael Fuhr
Subject Re: Index on a view??
Date
Msg-id 20050105201437.GA26024@winnie.fuhr.org
Whole thread Raw
In response to Index on a view??  ("Joost Kraaijeveld" <J.Kraaijeveld@Askesis.nl>)
Responses Re: Index on a view??
List pgsql-general
On Wed, Jan 05, 2005 at 08:15:28PM +0100, Joost Kraaijeveld wrote:
>
> Is it possible to create an index on a view?

Querying a view should use indexes if the underlying tables have
indexes and the planner can figure out how to use them.  For complex
queries you might need to use a materialized view.  PostgreSQL
doesn't have materialized views per se but it does have functionality
that can implement them.

What problem are you trying to solve?  Can you give us an example
of what you're trying to do?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-general by date:

Previous
From: Terry Lee Tucker
Date:
Subject: Trigger Question
Next
From: Michael Fuhr
Date:
Subject: Re: Trigger Question