pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alex Paulusberger <alexp@meta-bit.com>
To: Postgre Admin <pgsql-admin@postgresql.org>
Subject: pg_restore aborts when object missing
Date: Sat, 17 May 2003 12:59:11 +1000
Message-ID: <3EC5A57F.6090607@meta-bit.com> (raw)

Hi,
I am trying to restore a database with pg_restore -c  which according to
the man pages drops database objects prior to recreating them. However,
of on the destination database an index (in my case) does not exist, the
restore process aborts.

Is there a way to force the restore process to continue and instead
recreate these missing objects?

Thanks
Alex





Message-ID: <3EC5A57F.6090607@meta-bit.com>
Permalink:  ../3EC5A57F.6090607@meta-bit.com/
Also on:    postgresql.org/message-id/3EC5A57F.6090607@meta-bit.com

 · 

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: alexp@meta-bit.com
  Subject: Re: pg_restore aborts when object missing
  In-Reply-To: <3EC5A57F.6090607@meta-bit.com>
  References: <3EC5A57F.6090607@meta-bit.com>

* 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