Re: pg_dump: schema with OID xxxxxxxx does not exist

Поиск
Список
Период
Сортировка
От Peter Neish
Тема Re: pg_dump: schema with OID xxxxxxxx does not exist
Дата
Msg-id 454562F6.7020501@austehc.unimelb.edu.au
обсуждение исходный текст
Ответ на Re: pg_dump: schema with OID xxxxxxxx does not exist  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump: schema with OID xxxxxxxx does not exist  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump: schema with OID xxxxxxxx does not exist
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump: schema with OID xxxxxxxx does not exist