From: Tom Lane <tgl@sss.pgh.pa.us>
To: Patrick Robin <Patrick.Robin@disney.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_dump return failed sanity check
Date: Wed, 17 May 2000 23:18:54 -0400
Message-ID: <21336.958619934@sss.pgh.pa.us> (raw)
In-Reply-To: <3922D330.470E9451@fa.disney.com>
References: <14625.26748.356187.68826@localhost.grauel.com>
<39223072.63596770@alumni.caltech.edu>
<14626.41891.173479.250021@localhost.grauel.com>
<17483.958581314@sss.pgh.pa.us>
<3922D330.470E9451@fa.disney.com>
Patrick Robin <Patrick.Robin@disney.com> writes:
> When I try to use pg_dump, I get this error. Can it have something to
> do with a custom type I added. I made sure I added the input/output functions
> and comparision functions for sorting and queries.
> The type works fine in SQL queries in general.
>> pg_dump -s scm
> \connect - d23adm
> failed sanity check, type with oid 457690 was not found
That's probably an indication that you forgot to delete a function that
takes or returns an older custom type that you deleted.
Look in pg_proc for a function containing 457690 in proargtypes or
prorettype, and delete that tuple (or tuples if more than one).
pg_dump oughta be more helpful about where it sees the problem...
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, Patrick.Robin@disney.com, pgsql-general@postgresql.org
Subject: Re: pg_dump return failed sanity check
In-Reply-To: <21336.958619934@sss.pgh.pa.us>
References: <14625.26748.356187.68826@localhost.grauel.com> <39223072.63596770@alumni.caltech.edu> <14626.41891.173479.250021@localhost.grauel.com> <17483.958581314@sss.pgh.pa.us> <3922D330.470E9451@fa.disney.com> <21336.958619934@sss.pgh.pa.us>
* 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