pgAdmin使用无效的数据库名称启动pg_restore

|| 在Ubuntu 11.04 64位上的PostgreSQL和pgAdmin的新安装。 使用pgAdmin还原数据库架构时,它将启动以下命令:
/usr/bin/pg_restore --host opusdb --port 5432 --username postgres --dbname \\\"mydb\\\" --verbose \"mydb.backup\"
pg_restore: connecting to database for restore
pg_restore: [archiver (db)] connection to database \"\"mydb\"\" failed: FATAL:  database \"\"mydb\"\" does not exist
pg_restore: *** aborted because of error

Process returned exit code 1.
问题是由于数据库名称前后有\\\“。以下内容在命令行上有效(请注意缺少\\字符):
/usr/bin/pg_restore --host opusdb --port 5432 --username postgres --dbname \"mydb\" --verbose \"mydb.backup\"
不知道pgAdmin是否突然使用了不同的语法,或者pg_restore不再理解\\\“。它是否与Ubuntu的64位安装相关?     
已邀请:
显然,这是特定pgadmin3版本的问题:osdir.com/ml/ubuntu-bugs/2011-05/msg30089.html 下一个版本应该不再有此问题。     

要回复问题请先登录注册