pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: RW <postgres@tauceti.net>
To: pgsql-admin@postgresql.org
Subject: pg_dump: schema with OID 16396 does not exist
Date: Wed, 30 Aug 2006 13:23:43 +0200
Message-ID: <44F5753F.9080409@tauceti.net> (raw)

Hi everybody,

I have a problem with pg_dump. After dropping a database (DROP DATABASE ...)
I've created the database again (CREATE DATABASE ...) and restored a 
dump which
we create every night. No problem so far and import was no problem and 
without errors.

But now it isn't possible to make a backup because of the following error:

pg_dump: schema with OID 16396 does not exist

Postgres version is 8.1.4 and OS is Redhet ES 4 U3. I've already had the 
same problem
on a completely different database (Version 8.1.3) on a different host 
same szenario. But in
this case I've had the possibility to drop the entire cluster, started a 
initdb and do the restore.
Problem solved. This is not possible with this cluster so I need a real 
solution for the problem.

When I look at pg_namespace

mps_dev=# select * from pg_namespace ;
      nspname       | nspowner |                        nspacl
--------------------+----------+-------------------------------------------------------
 pg_toast           |       10 |
 pg_temp_1          |       10 |
 pg_catalog         |       10 | {postgres=UC/postgres,=U/postgres}
 information_schema |       10 | {postgres=UC/postgres,=U/postgres}
 as_mps_d_p         |    16387 |
 cms_mps_d_p        |    16389 | 
{cms_mps_d_p=UC/cms_mps_d_p,as_mps_d_p=U/cms_mps_d_p}
 public             |       10 | {postgres=UC/postgres,=UC/postgres}
(7 rows)

there is no nspacl for schema as_mps_d_p. Seems strange to me.

Thanks for any hint.
- Robert



view thread (5+ messages)  latest in thread

Message-ID: <44F5753F.9080409@tauceti.net>
Permalink:  ../44F5753F.9080409@tauceti.net/
Also on:    postgresql.org/message-id/44F5753F.9080409@tauceti.net

 · 

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: postgres@tauceti.net
  Subject: Re: pg_dump: schema with OID 16396 does not exist
  In-Reply-To: <44F5753F.9080409@tauceti.net>
  References: <44F5753F.9080409@tauceti.net>

* 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