Re: indexes on functions and create or replace function

From: Christophe <xof(at)thebuild(dot)com>
To: PGSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: indexes on functions and create or replace function
Date: 2008-08-29 01:15:03
Message-ID: 714693CC-DD53-4657-9BEE-FCE667EEA8E7@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Aug 28, 2008, at 6:10 PM, Matthew Dennis wrote:
> I'm not sure I follow. Couldn't you track which statements were
> prepared that called a function and either reprepare (just like
> reindex, recheck, etc) or in the case of dropping a function,
> refuse to drop it because something depends on it?

EXECUTE in PL/pgSQL accepts a string and executes it as a statement.
(That's different from the SQL-level EXECUTE.) I'm not sure how one
would track dependencies there.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-08-29 01:51:22 Re: indexes on functions and create or replace function
Previous Message Matthew Dennis 2008-08-29 01:10:14 Re: indexes on functions and create or replace function