Re: indexes on functions and create or replace function - Mailing list pgsql-general

From Christophe
Subject Re: indexes on functions and create or replace function
Date
Msg-id 3B61A3FD-1640-4F60-9DFF-6FA9391CC429@thebuild.com
Whole thread Raw
In response to Re: indexes on functions and create or replace function  ("Matthew Dennis" <mdennis@merfer.net>)
Responses Re: indexes on functions and create or replace function  ("Matthew Dennis" <mdennis@merfer.net>)
List pgsql-general
On Aug 28, 2008, at 3:21 PM, Matthew Dennis wrote:
> I have no doubt that someone would complain about it, but I think
> it's better than the alternative.

Determining if changing any function will cause an index to break is
not a straight-forward problem.  I don't believe that PG right now
keeps a graph of which functions call which, so replacing a function
deep in the logical calling hierarchy could break the index as easily
as one mentioned at the top.

pgsql-general by date:

Previous
From: "Matthew Dennis"
Date:
Subject: Re: indexes on functions and create or replace function
Next
From: Joshua Drake
Date:
Subject: Re: MySQL LAST_INSERT_ID() to Postgres