Skip site navigation (1) Skip section navigation (2)

pg_dumpall on win32

From: Marko Zmak <xmak(at)sharanet(dot)org>
To: pgsql-hackers-win32(at)postgresql(dot)org
Subject: pg_dumpall on win32
Date: 2004-07-29 21:23:51
Message-ID: 20040729231726.A76397@taliesin.sharanet.org (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
The WIn32 version of pg_dumpall doesn't work well. When I start it, it 
gives the following error:

pg_dumpall.exe: running """C:/Prog/Copy of PostgreSQL/bin/pg_dump.exe"  -v 
-Fp '
evidencija''"'"
Password:
pg_dump.exe: [archiver (db)] connection to database "'evidencija'''" 
failed: FAT
AL:  database "'evidencija'''" does not exist
pg_dump.exe: *** aborted because of error
pg_dumpall.exe: pg_dump failed on database "evidencija", exiting

It seems like it tries to connect to the database in order to dump it, but 
it gives 'evidencija''' as dbname instead of evidencija.

The similar thing happens when you start to pg_dumpall as some other user 
(not pgsql) but give the username on command line (-U option). It tries to 
connect to the database as user 'pgsql' and not pgsql.

Would you try to fix it?

Thx.

Marko Zmak
E-mail: xmak(at)sharanet(dot)org
Mob: 098/212-801

Responses

pgsql-hackers-win32 by date

Next:From: Daniel StruckDate: 2004-07-30 09:43:31
Subject: Re: [ADMIN] Secure DB Systems - How to
Previous:From: Andreas PflugDate: 2004-07-29 19:52:36
Subject: stderr piping under win32

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group