Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id EA76F9FA3B1 for ; Fri, 27 Oct 2006 01:32:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 63035-10 for ; Fri, 27 Oct 2006 04:31:05 +0000 (UTC) X-Greylist: delayed 00:29:54.002003 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 135E89FB34B for ; Fri, 27 Oct 2006 01:31:00 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from macfarlane.asap.unimelb.edu.au (macfarlane.asap.unimelb.edu.au [203.14.107.65]) by svr4.postgresql.org (Postfix) with ESMTP id A1E8A5AF02A for ; Fri, 27 Oct 2006 04:01:06 +0000 (GMT) Received: by macfarlane.asap.unimelb.edu.au (Postfix, from userid 1021) id EE2D612B031; Fri, 27 Oct 2006 13:46:02 +1000 (EST) Received: from [203.14.107.27] (iapetus.asap.unimelb.edu.au [203.14.107.27]) by macfarlane.asap.unimelb.edu.au (Postfix) with ESMTP id 8685612AEFD for ; Fri, 27 Oct 2006 13:45:56 +1000 (EST) Message-ID: <45418477.2020400@austehc.unimelb.edu.au> Date: Fri, 27 Oct 2006 14:00:55 +1000 From: Peter Neish User-Agent: Thunderbird 1.5.0.7 (X11/20060922) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: pg_dump: schema with OID xxxxxxxx does not exist Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.155 tagged_above=0 required=5 tests=SUBJECT_NOVOWEL X-Spam-Level: X-Archive-Number: 200610/193 X-Sequence-Number: 23496 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