Обсуждение: pgAdmin 1.14 bug - Backup globals error

Поиск
Список
Период
Сортировка

pgAdmin 1.14 bug - Backup globals error

От
"Chris Price"
Дата:

Hi,

 

The “Backup Globals…” menu item (when right-clicking on server node and selecting from pop-up menu) gives the following error when executed:

 

D:\Program Files\PostgreSQL\9.1\bin\pg_dump.exe --host localhost --port 5432 --username "postgres" --no-password  --verbose --file "C:\tmp\BackupFile.sql" --globals-only

D:\Program Files\PostgreSQL\9.1\bin\pg_dump.exe: illegal option -- globals-only

Try "pg_dump --help" for more information.

 

Process returned exit code 1.

 

Should the generated command be using pg_dumpall instead of pg_dump?

 

I’m using pgAdmin III Version 1.14.0 with PostgreSQL 9.1.1 running on 64-bit Windows Server 2008.

 

Thanks.

 

Regards,

Chris Price

 

Re: pgAdmin 1.14 bug - Backup globals error

От
Guillaume Lelarge
Дата:
Hi,

On Thu, 2011-12-08 at 23:04 +1100, Chris Price wrote:
> [...] 
> 
> The "Backup Globals." menu item (when right-clicking on server node and
> selecting from pop-up menu) gives the following error when executed:
> 
>  
> 
> D:\Program Files\PostgreSQL\9.1\bin\pg_dump.exe --host localhost --port 5432
> --username "postgres" --no-password  --verbose --file
> "C:\tmp\BackupFile.sql" --globals-only
> 
> D:\Program Files\PostgreSQL\9.1\bin\pg_dump.exe: illegal option --
> globals-only
> 
> Try "pg_dump --help" for more information.
> 
>  
> 
> Process returned exit code 1.
> 
>  
> 
> Should the generated command be using pg_dumpall instead of pg_dump?
> 

Yes.

> I'm using pgAdmin III Version 1.14.0 with PostgreSQL 9.1.1 running on 64-bit
> Windows Server 2008.
> 

That's your issue. You should use 1.14.1 instead. Update, and your issue
should go away :)


-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com