Re: Indexes - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Indexes
Date
Msg-id Pine.BSF.4.21.0110121932250.99565-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Indexes  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
List pgsql-sql
On Fri, 12 Oct 2001, Aasmund Midttun Godal wrote:

> Can someone shed some light on as to how the indexes actually work?
> 
> I want to index the results of a function, the function does a whole
> lot of different selects on different tables. Will the database know
> when to update the index.

AFAIK No.  The functions for functional indexes probably should only
depend upon the arguments and no outside data.  Anything else sounds like
a recipe for broken indexes.



pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: DROP VIEWS
Next
From: Bruce Momjian
Date:
Subject: Re: VARCHAR vs TEXT