From: Peter Neish <peter@austehc.unimelb.edu.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump: schema with OID xxxxxxxx does not exist
Date: Mon, 30 Oct 2006 13:27:02 +1100
Message-ID: <454562F6.7020501@austehc.unimelb.edu.au> (raw)
In-Reply-To: <3550.1162174753@sss.pgh.pa.us>
References: <45418477.2020400@austehc.unimelb.edu.au>
<6801.1161967193@sss.pgh.pa.us>
<45455FA3.2080706@austehc.unimelb.edu.au>
<3550.1162174753@sss.pgh.pa.us>
Tom Lane wrote:
> Peter Neish <peter@austehc.unimelb.edu.au> writes:
>
>> Tom Lane wrote:
>>
>>> These are composite-type entries, which means there should be
>>> associated entries in pg_class --- with OIDs 37894096 and 37894098
>>> respectively. Did you check to see if those are still there?
>>>
>
>
>> Yes, they are there. Can I safely delete the rows from both the pg_type
>> and the pg_class tables?
>>
>
> Oh, that's interesting. Are there entries in pg_attribute for these
> tables? Look for attrelid = 37894096 or 37894098. What PG version
> is this exactly?
>
> regards, tom lane
>
>
Yes, 32 entries.
# select * from pg_attribute where attrelid = 37894096 or attrelid =
37894098;
attrelid | attname | atttypid | attstattarget | attlen | attnum |
attndims | attcacheoff | atttypmod | attbyval | attstorage | attisset |
attalign | attnotnull | atthasdef | attisdropped | attislocal | attinhcount
----------+---------------+----------+---------------+--------+--------+----------+-------------+-----------+----------+------------+----------+----------+------------+-----------+--------------+------------+-------------
37894096 | tableoid | 26 | 0 | 4 | -7
| 0 | -1 | -1 | t | p | f
| i | t | f | f | t
| 0
37894096 | cmax | 29 | 0 | 4 | -6
| 0 | -1 | -1 | t | p | f
| i | t | f | f | t
| 0
...
37894098 | bid | 23 | -1 | 4 | 10
| 0 | -1 | -1 | t | p | f
| i | t | t | f | t
| 0
(32 rows)
Its runnign PG Version 7.4.7
Cheers,
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, tgl@sss.pgh.pa.us
Subject: Re: pg_dump: schema with OID xxxxxxxx does not exist
In-Reply-To: <454562F6.7020501@austehc.unimelb.edu.au>
References: <45418477.2020400@austehc.unimelb.edu.au> <6801.1161967193@sss.pgh.pa.us> <45455FA3.2080706@austehc.unimelb.edu.au> <3550.1162174753@sss.pgh.pa.us> <454562F6.7020501@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