pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: alvaro@audifarma.com.co
Cc: pgsql-admin@postgresql.org
Subject: Re: Problem doing pg_dumpall
Date: Sun, 23 Nov 2003 13:48:41 -0500
Message-ID: <28537.1069613321@sss.pgh.pa.us> (raw)
In-Reply-To: <46479.200.31.204.249.1069419948.squirrel@audifarm.audifarma.com.co>
References: <46479.200.31.204.249.1069419948.squirrel@audifarm.audifarma.com.co>

alvaro@audifarma.com.co writes:
> # pg_dumpall > data_dump
> pg_dump: could not find namespace with OID 102548365
> pg_dumpall: pg_dump failed on dbsa, exiting

Hm.  It would seem that you have an invalid namespace link in one of the
other system catalogs.  You could try doing
	select * from pg_class where relnamespace = 102548365;
	select * from pg_type where typnamespace = 102548365;
	select * from pg_proc where pronamespace = 102548365;
etc until you find the problem.  (Your trace suggests that pg_type is
where the problem is, but that's not certain.)

Where we go after that depends on what you find.  I'd be wondering about
whether there is corruption elsewhere in the same catalog ...

Also, what PG version is this exactly?

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <28537.1069613321@sss.pgh.pa.us>
Permalink:  ../28537.1069613321@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28537.1069613321@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, alvaro@audifarma.com.co
  Subject: Re: Problem doing pg_dumpall
  In-Reply-To: <28537.1069613321@sss.pgh.pa.us>
  References: <46479.200.31.204.249.1069419948.squirrel@audifarm.audifarma.com.co> <28537.1069613321@sss.pgh.pa.us>

* 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