Re: plan invalidation vs stored procedures

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
Cc: "Asko Oja" <ascoja(at)gmail(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Martin Pihlak" <martin(dot)pihlak(at)gmail(dot)com>, "Pg Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: plan invalidation vs stored procedures
Date: 2008-08-05 15:05:18
Message-ID: e51f66da0808050805s65e3636bj6f0369393c4247fe@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 8/5/08, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> >> ERROR: cannot change return type of existing function
> >> HINT: Use DROP FUNCTION first.
>
> you cannot change header of function. It's same as change C header of
> function without complete recompilation.

Thats why plan invalidation for DROP+CREATE is needed.

--
marko

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-08-05 15:09:34 Re: small improvement in buffread common
Previous Message Magnus Hagander 2008-08-05 14:53:56 Re: BUG #4186: set lc_messages does not work