Re: Syntax check for functions?

From: Stephane Bortzmeyer <bortzmeyer(at)nic(dot)fr>
To: Andreas Schlegel <schlegel(at)software(dot)b(dot)uunet(dot)de>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Syntax check for functions?
Date: 2002-07-12 07:37:31
Message-ID: 20020712073731.GA31002@nic.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jul 11, 2002 at 07:23:23PM +0200,
Andreas Schlegel <schlegel(at)software(dot)b(dot)uunet(dot)de> wrote
a message of 37 lines which said:

> I just wrote my first function and trigger in Postgres an dit won't work :-(
>
> I get the error: "fmgr_info: function 541860: cache lookup failed"

It is not a syntax error. It is simply because the binding between the
trigger and the function is done once and stays in the cache after
(you probably changed the function after the trigger). You have to
drop the trigger and recreate it.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-07-12 07:38:08 Re: again trouble
Previous Message Bjoern Metzdorf 2002-07-12 07:19:09 Re: again trouble