Re: Function cache regeneration

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Hubert FONGARNAND" <informatique(dot)internet(at)fiducial(dot)fr>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, "Arnaud Balandras" <a(dot)balandras(at)fiducial(dot)fr>
Subject: Re: Function cache regeneration
Date: 2007-03-22 14:10:50
Message-ID: b42b73150703220710q43802cd8nb0950504230a5bf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/22/07, Hubert FONGARNAND <informatique(dot)internet(at)fiducial(dot)fr> wrote:
>
> Hi,
>
> I'm looking for a way to regenerate the plpgsql function cache, without CREATE OR REPLACE function or restarting database...
> Sometimes, tables could be dropped and recreated, and then all our function working on these tables failed...
> In fact we've more than 100 functions in our intranet database, and we don't want nor recreating all of them nor restarting the database...
>
> Is there a way to do this in SQL?
>

there is technique to recompile pl/pgsql command, etc taking the
function name or oid i think. search the archives...

plan invalidation is coming to 8.3 i think.

merlin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-03-22 14:22:07 Re: Fixing hash index build time
Previous Message Alvaro Herrera 2007-03-22 14:09:08 Re: fixing dllist?