Re: bug in pg_restore - Mailing list pgsql-general

From Stephan Szabo
Subject Re: bug in pg_restore
Date
Msg-id 20020118154731.G66964-100000@megazone23.bigpanda.com
Whole thread Raw
In response to bug in pg_restore  ("Jeffrey W. Baker" <jwbaker@acm.org>)
Responses Re: bug in pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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.



pgsql-general by date:

Previous
From: "Jeffrey W. Baker"
Date:
Subject: bug in pg_restore
Next
From: "Mitch Vincent"
Date:
Subject: Re: Need book on PHP and PostgreSQL