pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump return failed sanity check
2+ messages / 2 participants
[nested] [flat]

* pg_dump return failed sanity check
@ 2000-05-17 17:13  Patrick Robin <Patrick.Robin@disney.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Patrick Robin @ 2000-05-17 17:13 UTC (permalink / raw)
  To: pgsql-general@postgresql.org

Hi,

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

Thanks

Patrick

--
________________________________________
Patrick Robin
patrickr@fa.disney.com
Walt Disney Feature Animation
500 South Buena Vista Street
Burbank,California 91521-4817






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump return failed sanity check
@ 2000-05-18 03:18  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Patrick Robin <Patrick.Robin@disney.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2000-05-18 03:18 UTC (permalink / raw)
  To: Patrick Robin <Patrick.Robin@disney.com>; +Cc: pgsql-general@postgresql.org

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-05-18 03:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-05-17 17:13 pg_dump return failed sanity check Patrick Robin <Patrick.Robin@disney.com>
2000-05-18 03:18 ` Tom Lane <tgl@sss.pgh.pa.us>

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