Re: pg_restore peculiarities

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tim Penhey <tim(at)penhey(dot)net>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_restore peculiarities
Date: 2004-09-18 16:22:09
Message-ID: 4838.1095524529@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tim Penhey <tim(at)penhey(dot)net> writes:
> Maybe it's just me, but I can't seem to get pg_restore to restore a
> database...

It looks to me like you have a bunch of stuff in template1, which is
being duplicated into your test_restored DB and then is interfering
with the restoration of similarly-named objects.

Create the empty database using template0 as template, instead, and
then the restore will work.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Penhey 2004-09-18 16:57:56 Re: pg_restore peculiarities
Previous Message Tom Lane 2004-09-18 16:06:24 Re: Vacuum related question