pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fraley <fraley@usfca.edu>
To: pgsql-admin@postgresql.org
Cc: Michael Fraley <fraley@beta.usfca.edu>
Subject: ERROR: fmgr_info: function 19104: cache lookup failed
Date: Mon, 26 Jun 2000 15:40:55 -0700
Message-ID: <00062422294101.00500@cumquat> (raw)

Hello,

I just upgraded from 6.5.2 to 7.0.2 on SuSE 6.4 Linux, and now I get this
message when trying to insert records:

ERROR:  fmgr_info: function 19104: cache lookup failed

This only happens on tables that use refint.so (under contrib/spi in the source
distribution). There is a trigger that calls a function, to check primary or
foreign key. Has anyone else encountered this? 

Here's the schema:

create subscriptions table
-------------------
CREATE SEQUENCE "subscriptions_script_id_seq" start 1 increment 1 maxvalue 
                2147483647 minvalue 1  cache 1 ;
CREATE TABLE "subscriptions" (
	"script_id" int4 DEFAULT nextval('subscriptions_script_id_seq') NOT NULL,
	"mag_id" int4 NOT NULL,
	"paid_amount" money NOT NULL,
	"start_date" date NOT NULL,
	"end_date" date NOT NULL,
	"notes" text);
CREATE UNIQUE INDEX "subscriptions_script_id_key" on "subscriptions" using btree 
               ( "script_id" "int4_ops" );
CREATE TRIGGER "sub_mag_trigger" BEFORE INSERT OR UPDATE ON "subscriptions" 
              FOR EACH ROW EXECUTE PROCEDURE 
              check_primary_key ('mag_id', 'magazines', 'mag_id');

create function
------------
CREATE FUNCTION "check_primary_key" ( ) RETURNS opaque AS
              '/usr/local/pgsql/lib/modules/refint.so' LANGUAGE 'C';


 -- 

  Michael Fraley
  fraley@usfca.edu
  http://www.usfca.edu/~fraley



Message-ID: <00062422294101.00500@cumquat>
Permalink:  ../00062422294101.00500@cumquat/
Also on:    postgresql.org/message-id/00062422294101.00500@cumquat

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: fraley@usfca.edu, fraley@beta.usfca.edu
  Subject: Re: ERROR: fmgr_info: function 19104: cache lookup failed
  In-Reply-To: <00062422294101.00500@cumquat>
  References: <00062422294101.00500@cumquat>

* 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