pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@vale-housing.co.uk>
To: Ramya Asokan <ramya.asokan@wdc.greenpeace.org>
To: pgsql-admin@postgresql.org
To: pgadmin-support@postgresql.org
Subject: Re: Cache lookup error
Date: Fri, 24 May 2002 22:27:47 +0100
Message-ID: <D85C66DA59BA044EB96AB9683819CF610150A6@dogbert.vale-housing.co.uk> (raw)



> -----Original Message-----
> From: Ramya Asokan [mailto:ramya.asokan@wdc.greenpeace.org] 
> Sent: 24 May 2002 21:01
> To: pgsql-admin@postgresql.org; pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Cache lookup error
> 
> 
> Hi,
> I created a function and  a trigger - I then dropped them and 
> created the same function and trigger with a different name, 
> but i keep getting the error : cache lookup failed. I don't 
> know what this means, and would be very grateful if you can 
> help me out.

This error may occur if you dropped your function, but not the trigger
(or the trigger failed to drop for some reason). The trigger is still
firing but the cache lookup of the function is failing because it has
gone. This could also happen if your function is dependent on another
function that has since been dropped.

I would suggest first checking that the original trigger was dropped
correctly(and dropping it if not), and if that doesn't solve the
problem, dropping and recreating all the objects again, making sure that
all the dependencies are satisfied.

Regards, Dave.



view thread (4+ messages)  latest in thread

Message-ID: <D85C66DA59BA044EB96AB9683819CF610150A6@dogbert.vale-housing.co.uk>
Permalink:  ../D85C66DA59BA044EB96AB9683819CF610150A6@dogbert.vale-housing.co.uk/
Also on:    postgresql.org/message-id/D85C66DA59BA044EB96AB9683819CF610150A6@dogbert.vale-housing.co.uk

 · 

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: dpage@vale-housing.co.uk, ramya.asokan@wdc.greenpeace.org, pgadmin-support@postgresql.org
  Subject: Re: Cache lookup error
  In-Reply-To: <D85C66DA59BA044EB96AB9683819CF610150A6@dogbert.vale-housing.co.uk>
  References: <D85C66DA59BA044EB96AB9683819CF610150A6@dogbert.vale-housing.co.uk>

* 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