Обсуждение: may be bug in pg_dumpall in 7.0.3

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

may be bug in pg_dumpall in 7.0.3

От
"Korshunov Ilya"
Дата:
Hello
Trying to dump all databases
> ./pg_dumpall -h baze.zenon.net -p 63010 -u > $HOME/pg_dumpall
 
Get error :
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running at 'localhost'
        and accepting connections on Unix socket '5432'?

 
Question - how to create full  dump for my base  ?
 
regarrds
korshunov

Re: may be bug in pg_dumpall in 7.0.3

От
Tom Lane
Дата:
"Korshunov Ilya" <kosha@kp.ru> writes:
>> ./pg_dumpall -h baze.zenon.net -p 63010 -u > $HOME/pg_dumpall

I think you'll need to set PGHOST and PGPORT to get that old version
of pg_dumpall to work.  Current sources seem to do this better.
        regards, tom lane