On Mon, 2007-10-08 at 14:03 +0000, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the postgresql-client-8.2 package:
> 
> #445440: postgresql-client-8.2: pg_restore doesn't seem able to create a 
> database
> 
> It has been closed by Peter Eisentraut <[EMAIL PROTECTED]>.
> 
> Their explanation is attached below.  If this explanation is
> unsatisfactory and you have not received a better one in a separate
> message then please contact Peter Eisentraut <[EMAIL PROTECTED]> by replying
> to this email.
> 
> Debian bug tracking system administrator
> (administrator, Debian Bugs database)
> 
> email message attachment
> > -------- Forwarded Message --------
> > From: Peter Eisentraut <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: Re: Bug#445440: postgresql-client-8.2: pg_restore doesn't
> > seem able to create a database
> > Date: Mon, 8 Oct 2007 15:59:53 +0200
> > 
> > Am Freitag, 5. Oktober 2007 schrieb Ross Boylan:
> > > # pg_restore --cluster 8.2/bacula -U postgres -C -d bacula bacula.dump
> > > pg_restore: [archiver (db)] connection to database "bacula" failed: 
> > > FATAL: 
> > > database "bacula" does not exist
> > 
> > Quoth the man page:
> > 
> >        -C
> >        --create
> >               Create the database before restoring into it. (When this 
> > option is used, the database named with -d is used only  to  issue  the  
> > initial  CREATE
> >               DATABASE command. All data is restored into the database name 
> > that appears in the archive.)
> > 
> > So you need to specify a different database with -d to give it place to
> > connect to in order to create your real database.  ("postgres" could work.)
Thank you.  I saw it, but I didn't get it.  I think I do now.  Sorry for the 
trouble.
Ross



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to