Re: bug in pg_restore

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: bug in pg_restore
Date: 2002-01-18 23:49:37
Message-ID: 20020118154731.G66964-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On 18 Jan 2002, Jeffrey W. Baker wrote:

> I think there is a little bug in pg_restore. It says it can't restore
> because the database doesn't exist, but then if I create the database it
> says it can't proceed because the database DOES exist. The solution for
> me was to omit the -C argument, but it looks like a bug to me:

I think the intention is that with -C, the -d argument is the database
to connect to before generating the create for the database that's
specified in the dump, not the final name of the database.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mitch Vincent 2002-01-18 23:49:43 Re: Need book on PHP and PostgreSQL
Previous Message Jeffrey W. Baker 2002-01-18 23:28:45 bug in pg_restore