From: Peter Neish <peter@austehc.unimelb.edu.au>
To: pgsql-admin@postgresql.org
Subject: pg_dump: schema with OID xxxxxxxx does not exist
Date: Fri, 27 Oct 2006 14:00:55 +1000
Message-ID: <45418477.2020400@austehc.unimelb.edu.au> (raw)
Running pg_dump gives this error:
pg_dump: schema with OID 37647910 does not exist
I've found a variation of this on the mailing list, but I'm not entirely
sure what to do about it.
I found this OID by running: select * from pg_type where typnamespace =
37647910;
and two entries:
typname | typnamespace | typowner | typlen | typbyval |
typtype | typisdefined | typdelim | typrelid | typelem | typinput |
typoutput | typreceive | typsend | typalign | typstorage |
typnotnull | typbasetype | typtypmod | typndims | typdefaultbin | typdefault
-----------------------+--------------+----------+--------+----------+---------+--------------+----------+----------+---------+-----------+------------+-------------+-------------+----------+------------+------------+-------------+-----------+----------+---------------+------------
entity_browse_bid_seq | 37647910 | 1005 | 4 | t |
c | t | , | 37894096 | 0 | record_in |
record_out | record_recv | record_send | i | p |
f | 0 | -1 | 0 | |
entity_browse | 37647910 | 1005 | 4 | t |
c | t | , | 37894098 | 0 | record_in |
record_out | record_recv | record_send | i | p |
f | 0 | -1 | 0 | |
(2 rows)
Does this mean that I can just delete these rows from this table for the
dump to work? Will deleting these rows affect anything else? Can you
tell that I'm not really sure what I am doing - I just need to get a
database from one server to another.
Thanks for any help you could give me,
Peter
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: peter@austehc.unimelb.edu.au
Subject: Re: pg_dump: schema with OID xxxxxxxx does not exist
In-Reply-To: <45418477.2020400@austehc.unimelb.edu.au>
References: <45418477.2020400@austehc.unimelb.edu.au>
* 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