Skip site navigation (1) Skip section navigation (2)

Re: database name quoted error in backup command.

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: yangjun <yangjun_work(at)foxmail(dot)com>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: database name quoted error in backup command.
Date: 2011-05-08 08:26:00
Message-ID: 4DC65398.2020107@lelarge.info (view raw or flat)
Thread:
Lists: pgadmin-support
On 04/28/2011 04:33 PM, yangjun wrote:
> pgadmin ver 1.12.2 on windows
> when backup a database name 19
> the backup command log show as below:
> I:/PostgreSQL/9.0/bin\pg_dump.exe --host localhost --port 9007 --username
> "postgres" --format custom --blobs --verbose --file "r:\test.backup" \"19\"
> pg_dump: [archiver (db)] connection to database ""19"" failed: FATAL: 
> database ""19"" does not exist
> pg_dump: *** aborted because of error
>  
> Process returned exit code 1.
> -------------------------------------------------------------------------
> two command below run fine.
> I:/PostgreSQL/9.0/bin\pg_dump.exe --host localhost --port 9007 --username
> "postgres" --format custom --blobs --verbose --file "r:\test.backup" "19"
> or
> I:/PostgreSQL/9.0/bin\pg_dump.exe --host localhost --port 9007 --username
> "postgres" --format custom --blobs --verbose --file "r:\test.backup" 19
> 

Upgrade to 1.12.3, it has has a fix for this issue.


-- 
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

In response to

pgadmin-support by date

Next:From: gabriele.garuglieriDate: 2011-05-11 07:23:30
Subject: Re: Usability improvment ideas
Previous:From: Guillaume LelargeDate: 2011-05-06 21:32:41
Subject: Re: pgadmin 1.14.0 beta1 - serveur status

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group