Skip site navigation (1) Skip section navigation (2)

Re: cache lookup failed: hack pg_* tables?

From: Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org, kovzol(at)math(dot)u-szeged(dot)hu
Subject: Re: cache lookup failed: hack pg_* tables?
Date: 2002-05-28 14:26:09
Message-ID: Pine.LNX.4.21.0205281620550.16586-100000@pc10.radnoti-szeged.sulinet.hu (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, 28 May 2002, Tom Lane wrote:

> Kovacs Zoltan <kovacsz(at)pc10(dot)radnoti-szeged(dot)sulinet(dot)hu> writes:
> > I'm trying to implement some code to recreate tables as we discussed
> > formerly. But it's not so easy... :-) My first blind alley is that
> > dropping a function which is occured in a CHECK constraint or
> > a DEFAULT constraint, I get "fmgr_info: function 12345678: cache
> > lookup failed" or "Function OID 12345678 does not exist" (this one
> > only in 7.1.3; I tested this also in 7.2.1).
> 
> Use CREATE OR REPLACE FUNCTION to modify an existing function ...

Well... it works... :-) Thanks and sorry for this silly question... :-)

Zoltan


In response to

pgsql-hackers by date

Next:From: Andrew SullivanDate: 2002-05-28 14:50:25
Subject: Re: Replication status & point-in-time recovery
Previous:From: Tom LaneDate: 2002-05-28 14:06:03
Subject: Re: wierd AND condition evaluation for plpgsql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group