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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Thu, 29 Jul 2004 23:23:51 +0200 (CEST)
  • Message-id: <20040729231726(dot)A76397(at)taliesin(dot)sharanet(dot)org>


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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group