| From: | "yangjun" <yangjun_work(at)foxmail(dot)com> |
|---|---|
| To: | pgadmin-support(at)postgresql(dot)org |
| Subject: | database name quoted error in backup command. |
| Date: | 2011-04-28 14:33:26 |
| Message-ID: | 572706555168750982@foxmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgadmin-support |
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
yangjun
杨军
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bob Pawley | 2011-04-28 16:36:03 | Re: Version 1.10.5 |
| Previous Message | Guillaume Lelarge | 2011-04-26 20:12:20 | Re: Version 1.10.5 |