may be bug in pg_dumpall in 7.0.3

Started by Korshunov Ilyaabout 24 years ago2 messages
#1Korshunov Ilya
kosha@kp.ru

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Korshunov Ilya (#1)
Re: may be bug in pg_dumpall in 7.0.3

"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