Re: More Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew <matt(at)ctlno(dot)com>
Cc: Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: More Problems
Date: 2001-04-06 18:51:03
Message-ID: 27568.986583063@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Matthew <matt(at)ctlno(dot)com> writes:
> -- dumping out user-defined functions
> failed sanity check, type with oid 101993741 was not found

Looks like you have a function that refers to a since-deleted type.
You'll need to find and drop the function (which may mean manually
deleting its pg_proc row, since there's no way to name the function
to DROP FUNCTION if one of its parameters is a now-unknown type).

Another possibility is that the type still exists but you deleted its
owning user from pg_shadow; that will confuse pg_dump too. In that
case you can just create a new user with the same usesysid, or you can
update the type's typowner field in pg_type to refer to some existing
user.

Try "select * from pg_type where oid = 101993741" to figure out which
situation applies ...

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dominic J. Eidson 2001-04-06 18:51:28 Re: Duplicate databases...
Previous Message Dominic J. Eidson 2001-04-06 18:47:06 Duplicate databases...