From: Adam H. Pendleton <apendleton@vgsinc.com>
To: pgsql-sql@hub.org
Subject: Function error
Date: Wed, 12 May 1999 09:40:24 -0400
Message-ID: <005501be9c7c$fde98550$bdd0be80@belvoir.army.mil> (raw)
I created the following function:
create function employee_pay_update() returns opaque as '
begin
insert into employee_payroll values (
new.employee_id,
new.employee_name
);
' language 'plpgsql';
This is just supposed to insert any record inserted into a table into
employee_payroll. I don't need any sort of error checking as that will be
done elsewhere. When I try to insert into the first table, and the trigger
calls this function I get this error:
java.sql.SQLException: ERROR: fmgr_info: function 19265: cache lookup
failed
Did I forget to do something?
Adam
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Si hoc legere scis nimium eruditionis habes.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: apendleton@vgsinc.com, pgsql-sql@hub.org
Subject: Re: Function error
In-Reply-To: <005501be9c7c$fde98550$bdd0be80@belvoir.army.mil>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox