pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Failed sanity check?
3+ messages / 2 participants
[nested] [flat]

* Failed sanity check?
@ 2009-02-04 19:32  Carol Walter <walterc@indiana.edu>
  0 siblings, 1 reply; 3+ messages in thread

From: Carol Walter @ 2009-02-04 19:32 UTC (permalink / raw)
  To: pgsql-admin

Hello,

I'm getting this message when I try to back up one of my databases.   
Is there something I can do about this?

bash-3.00# pg_dump -U postgres citesrch > /pgdump/citesrch_bk.sql
pg_dump: failed sanity check, parent table OID 131956046 of pg_rewrite  
entry OID 131956048 not found

Thanks,

Carol



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

* Re: Failed sanity check?
@ 2009-02-05 00:03  Lee Azzarello <lee@dropio.com>
  parent: Carol Walter <walterc@indiana.edu>
  0 siblings, 1 reply; 3+ messages in thread

From: Lee Azzarello @ 2009-02-05 00:03 UTC (permalink / raw)
  To: pgsql-admin

Can you perform queries against tables in that database? You may have
to poke around in the systems tables for the object ids in question.

-lee

On Wed, Feb 4, 2009 at 2:32 PM, Carol Walter <walterc@indiana.edu> wrote:
> Hello,
>
> I'm getting this message when I try to back up one of my databases.  Is
> there something I can do about this?
>
> bash-3.00# pg_dump -U postgres citesrch > /pgdump/citesrch_bk.sql
> pg_dump: failed sanity check, parent table OID 131956046 of pg_rewrite entry
> OID 131956048 not found
>
> Thanks,
>
> Carol
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>



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

* Re: Failed sanity check?
@ 2009-02-06 14:12  Carol Walter <walterc@indiana.edu>
  parent: Lee Azzarello <lee@dropio.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Carol Walter @ 2009-02-06 14:12 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

Yes, it seems like I can do anything to this database except run  
pg_dump against it.  When this first happened, I copied all the data  
out of the tables.  I've just finished manually rebuilding the tables  
in schema and copying the data into most of the tables in a test  
database.  I was able to copy the data into the new tables in all but  
three cases.  Two of the three were text search tables that have  
function names in them.  The functions are not in the new database  
yet.  The third has some records with Asian characters.  I think,  
because this database is designated as SQL_ASCII encoding, that the  
pipe delimiter was confused on these records with other characters.   
One other thing that may be a problem is that the database had two  
tables that have sequences with the same name.  I was unable to  
recreate that situation and I don't know how the user did it.

Thank you very much for your help.

Carol

On Feb 4, 2009, at 7:03 PM, Lee Azzarello wrote:

> Can you perform queries against tables in that database? You may have
> to poke around in the systems tables for the object ids in question.
>
> -lee
>
> On Wed, Feb 4, 2009 at 2:32 PM, Carol Walter <walterc@indiana.edu>  
> wrote:
>> Hello,
>>
>> I'm getting this message when I try to back up one of my  
>> databases.  Is
>> there something I can do about this?
>>
>> bash-3.00# pg_dump -U postgres citesrch > /pgdump/citesrch_bk.sql
>> pg_dump: failed sanity check, parent table OID 131956046 of  
>> pg_rewrite entry
>> OID 131956048 not found
>>
>> Thanks,
>>
>> Carol
>>
>> --
>> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-admin
>>
>
> -- 
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin




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


end of thread, other threads:[~2009-02-06 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-02-04 19:32 Failed sanity check? Carol Walter <walterc@indiana.edu>
2009-02-05 00:03 ` Lee Azzarello <lee@dropio.com>
2009-02-06 14:12   ` Carol Walter <walterc@indiana.edu>

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